aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/packages/template_bin.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/packages/template_bin.sh b/scripts/packages/template_bin.sh
index 81ddc85e97..5b1cfa943c 100755
--- a/scripts/packages/template_bin.sh
+++ b/scripts/packages/template_bin.sh
@@ -133,9 +133,7 @@ test_write "${bazelrc}"
echo -n "Uncompressing."
# Cleaning-up, with some guards.
-if [ -f "${bin}/bazel" ]; then
- rm -f "${bin}/bazel"
-fi
+rm -f "${bin}/bazel"
if [ -d "${base}" -a -x "${base}/bin/bazel" ]; then
rm -fr "${base}"
fi