aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2016-10-12 14:22:15 +0100
committerRenato Golin <renato.golin@linaro.org>2016-10-12 14:22:15 +0100
commit27a7ba10f9eb3cb5664e9e2b5a7a51433957db1a (patch)
tree822c2f0bd58b2f5f4b2303ab4ccb6753f6b7b5bc
parent567f6807fd5204a1008147ba4def2e0df657eef3 (diff)
downloadlinaro-scripts-27a7ba10f9eb3cb5664e9e2b5a7a51433957db1a.tar.gz
[cron] fix yet another bug diana found :)
Change-Id: I0566bb95c43c6b6b09553102287cfe4f417dfa66
-rwxr-xr-xhelpers/llvm-cron-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/llvm-cron-build b/helpers/llvm-cron-build
index a0af680..9d2062b 100755
--- a/helpers/llvm-cron-build
+++ b/helpers/llvm-cron-build
@@ -45,7 +45,7 @@ if [[ $loadavg -gt 100 ]]; then
fi
# Crontab-specific, make sure the helpers directory is in the path
-if [ $(echo "$PATH" | grep "$ROOT") == "" ]; then
+if [ "$(echo "$PATH" | grep "$ROOT")" = "" ]; then
PATH="$PATH":"$ROOT"
fi