diff options
Diffstat (limited to 'auth/sample/bin')
-rw-r--r-- | auth/sample/bin/client.sh | 2 | ||||
-rw-r--r-- | auth/sample/bin/service.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/auth/sample/bin/client.sh b/auth/sample/bin/client.sh index c0eb2191..a8b8b9a6 100644 --- a/auth/sample/bin/client.sh +++ b/auth/sample/bin/client.sh @@ -119,7 +119,7 @@ if [ ! "$CMD" = "" ]; then if [ "$ADD" = "Y" ]; then echo $2 >> $F else - sed -i.backup -e "s/\\(${1}.*=\\).*/\\1\"${2}\"/" $F + sed -i.backup -e "s/\\(${1}.*=\\).*/\\1${2}/" $F fi cat $F done diff --git a/auth/sample/bin/service.sh b/auth/sample/bin/service.sh index 8ce43fce..33dca67f 100644 --- a/auth/sample/bin/service.sh +++ b/auth/sample/bin/service.sh @@ -92,7 +92,7 @@ if [ ! "$CMD" = "" ]; then echo "$1=$2" >> $F else VALUE=${2//\//\\\/} - sed -i.backup -e "s/\(${1}=\).*/\1\"${VALUE}\"/" $F + sed -i.backup -e "s/\(${1}=\).*/\1${VALUE}/" $F fi cat $F done |