diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2015-09-08 17:23:02 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-09-08 17:27:28 +0000 |
commit | 2c2e70d0f600cff4ca59e1aae0181c9fb8543df3 (patch) | |
tree | 4c959b273cb9a4d730c10f0a5797983bbc7f1208 /scripts/packages | |
parent | 17ef9158fa312013b90f63a632258d5f2e260ebd (diff) |
Fix the installer and fixing the package shiped into binary version of Bazel.
--
MOS_MIGRATED_REVID=102567966
Diffstat (limited to 'scripts/packages')
-rwxr-xr-x | scripts/packages/template_bin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |