summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-26 10:56:30 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-26 10:56:30 -0400
commit5b4872aa4b38993f732e18b5c4ea44342cf32da0 (patch)
treeac5524d6b1dc3394c8806c32fa66e032c57228ef /repo
parentc8732b1dfd07e8c8bae49f6bc575a73235d5c0ab (diff)
downloadgpsd-5b4872aa4b38993f732e18b5c4ea44342cf32da0.tar.gz
Highlight the remaining bashism.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/ciabot.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh
index 806ba5d8..6d24af44 100755
--- a/repo/hooks/ciabot.sh
+++ b/repo/hooks/ciabot.sh
@@ -72,6 +72,8 @@ gitver=$(git --version)
gitver=${gitver##* }
rev=$(git describe ${merged} 2>/dev/null)
+# ${merged:0:12} is the only bashism left in this script,
+# according to checkbashisms.
[ -z ${rev} ] && rev=${merged:0:12}
rawcommit=$(git cat-file commit ${merged})