diff options
author | Nathan Cutler <ncutler@suse.com> | 2018-07-16 22:07:57 +0200 |
---|---|---|
committer | Nathan Cutler <ncutler@suse.com> | 2018-07-16 22:07:57 +0200 |
commit | 4b8c3b8e7979c22637bf67eaa6f291c4227da953 (patch) | |
tree | df1ff4e5b08d22475dfecc7a1a377e802c5f0440 /install-deps.sh | |
parent | Merge PR #23059 into master (diff) | |
download | ceph-4b8c3b8e7979c22637bf67eaa6f291c4227da953.tar.xz ceph-4b8c3b8e7979c22637bf67eaa6f291c4227da953.zip |
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 <ncutler@suse.com>
Diffstat (limited to 'install-deps.sh')
-rwxr-xr-x | install-deps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |