From: Nathan Cutler Date: Mon, 16 Jul 2018 20:07:57 +0000 (+0200) Subject: build/ops: install-deps.sh: set with_seastar X-Git-Tag: v14.0.1~863^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4b8c3b8e7979c22637bf67eaa6f291c4227da953;p=ceph.git build/ops: install-deps.sh: set with_seastar 25d5122b5538062e8282251c3d7bae0f9792d596 introduced code into install-deps.sh which was intended to set a variable "with_seastar" to the string "true" or "false" depending on whether or not an environment variable WITH_SEASTAR is defined. As originally implemented, the conditional is always true, so with_seastar is set to "true" unconditionally. Fix this by putting $WITH_SEASTAR in double quotes. Signed-off-by: Nathan Cutler --- diff --git a/install-deps.sh b/install-deps.sh index 30c6fd814daa..a02fd61b812e 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -23,7 +23,7 @@ export LC_ALL=C # the following is vulnerable to i18n ARCH=`uname -m` -if [ -n $WITH_SEASTAR ]; then +if [ -n "$WITH_SEASTAR" ]; then with_seastar=true else with_seastar=false