commit | 2c2e70d0f600cff4ca59e1aae0181c9fb8543df3 | [log] [tgz] |
---|---|---|
author | Damien Martin-Guillerez <dmarting@google.com> | Tue Sep 08 17:23:02 2015 +0000 |
committer | Damien Martin-Guillerez <dmarting@google.com> | Tue Sep 08 17:27:28 2015 +0000 |
tree | 4c959b273cb9a4d730c10f0a5797983bbc7f1208 | |
parent | 17ef9158fa312013b90f63a632258d5f2e260ebd [diff] [blame] |
Fix the installer and fixing the package shiped into binary version of Bazel. -- MOS_MIGRATED_REVID=102567966
diff --git a/scripts/packages/template_bin.sh b/scripts/packages/template_bin.sh index 880b430..91fc86d 100755 --- a/scripts/packages/template_bin.sh +++ b/scripts/packages/template_bin.sh
@@ -135,7 +135,7 @@ 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