From 2c2e70d0f600cff4ca59e1aae0181c9fb8543df3 Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Tue, 8 Sep 2015 17:23:02 +0000 Subject: Fix the installer and fixing the package shiped into binary version of Bazel. -- MOS_MIGRATED_REVID=102567966 --- scripts/packages/template_bin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/packages/template_bin.sh b/scripts/packages/template_bin.sh index 880b430670..91fc86d160 100755 --- a/scripts/packages/template_bin.sh +++ b/scripts/packages/template_bin.sh @@ -135,7 +135,7 @@ echo -n "Uncompressing." if [ -f "${bin}/bazel" ]; then rm -f "${bin}/bazel" fi -if [ -d "${base}" && -x "${base}/bin/bazel" ]; then +if [ -d "${base}" -a -x "${base}/bin/bazel" ]; then rm -fr "${base}" fi -- cgit v1.2.3