summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-12-26 05:45:24 -0800
committerH. Peter Anvin <hpa@zytor.com>2018-12-26 05:45:24 -0800
commitd26cec2980dbd4c9a8134fffa832033fe3abdc11 (patch)
tree146df6e5ce9648bb840e95487ea98ffe000addd9
parent7154dc38742e1dca1e8b2005d84aab06a16975b8 (diff)
downloadnasmbuild-d26cec2980dbd4c9a8134fffa832033fe3abdc11.tar.gz
nasmbuild-d26cec2980dbd4c9a8134fffa832033fe3abdc11.tar.xz
nasmbuild-d26cec2980dbd4c9a8134fffa832033fe3abdc11.zip
Correct argument for test for "force"
-rwxr-xr-xgitmirror/robot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitmirror/robot.sh b/gitmirror/robot.sh
index f1c6875..ea76707 100755
--- a/gitmirror/robot.sh
+++ b/gitmirror/robot.sh
@@ -16,7 +16,7 @@ slave="$HOME/gitmirror/nasm-mail.git"
date=$(date -uR)
(
- if [ "$1" -eq "force" ]; then
+ if [ x"$1" = x"force" ]; then
flock -x 9
else
flock -nx 9 || exit 0