]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
initscripts: allow vars with spaces
authorSage Weil <sage@newdream.net>
Mon, 9 Mar 2009 20:18:56 +0000 (13:18 -0700)
committerSage Weil <sage@newdream.net>
Mon, 9 Mar 2009 20:18:56 +0000 (13:18 -0700)
src/ceph_common.sh

index edbe1189e6ea72961472e98ea2e1b0eec313c3a0..9177e9965f81a61b03157ad8477a905fd77549a3 100644 (file)
@@ -105,7 +105,7 @@ get_conf() {
                tmp=$tmp" -s $1"
                shift
        done
-       eval $var=`$CCONF -c $conf $tmp "$key" "$def"`
+       eval "$var=\"`$CCONF -c $conf $tmp \"$key\" \"$def\"`\""
 }
 
 get_conf_bool() {