diff options
-rw-r--r-- | auth/sample/bin/client.sh | 2 | ||||
-rw-r--r-- | auth/sample/bin/service.sh | 2 | ||||
-rw-r--r-- | auth/sample/local/aaf.props | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/auth/sample/bin/client.sh b/auth/sample/bin/client.sh index 46c85be9..c0eb2191 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 33dca67f..8ce43fce 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 diff --git a/auth/sample/local/aaf.props b/auth/sample/local/aaf.props index 4a5d0716..1e16c3d4 100644 --- a/auth/sample/local/aaf.props +++ b/auth/sample/local/aaf.props @@ -20,3 +20,4 @@ cadi_x509_issuers= # Other aaf_data_dir=/opt/app/osaaf/data cadi_token_dir=/opt/app/osaaf/tokens +cadi_loglevel=WARN |