From 4b8c3b8e7979c22637bf67eaa6f291c4227da953 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Mon, 16 Jul 2018 22:07:57 +0200 Subject: 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 --- install-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install-deps.sh') diff --git a/install-deps.sh b/install-deps.sh index 30c6fd814da..a02fd61b812 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 -- cgit v1.2.3