git://git.exim.org
/
buildfarm-client.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix uninitialized perl variable error output
[buildfarm-client.git]
/
run_cron.sh
diff --git
a/run_cron.sh
b/run_cron.sh
index d302665d83246be8a879d475e3352c6b8b909d46..5c81a8588d48d386ec4d4a3323c5f39f320288ec 100755
(executable)
--- a/
run_cron.sh
+++ b/
run_cron.sh
@@
-13,4
+13,12
@@
if which git >/dev/null; then
git pull >/dev/null
fi
+# Sanitize or set up environment
+# 1) Remove because spec.txt generation fails if set
+if env | grep -q '/bin/bash'; then
+ export -n PERL_UNICODE
+else
+ unset PERL_UNICODE
+fi
+
./run_branches.pl $@