From 9f34224aa00bdabc1dd1766c0e3578d1d29bcf96 Mon Sep 17 00:00:00 2001 From: David Personette Date: Wed, 18 Sep 2019 06:51:09 -0400 Subject: [PATCH] samba.sh fix #241 derp in charmap function --- samba.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba.sh b/samba.sh index 0065791..5ddffc3 100755 --- a/samba.sh +++ b/samba.sh @@ -30,7 +30,7 @@ charmap() { local chars="$1" file=/etc/samba/smb.conf ' $file - sed -i '/catia:mappings/s/ =.*/ = '"$chars" $file + sed -i '/catia:mappings/s| =.*| = '"$chars"'|' $file } ### global: set a global config option