diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-03-26 10:56:30 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-03-26 10:56:30 -0400 |
commit | 5b4872aa4b38993f732e18b5c4ea44342cf32da0 (patch) | |
tree | ac5524d6b1dc3394c8806c32fa66e032c57228ef /repo/hooks/ciabot.sh | |
parent | c8732b1dfd07e8c8bae49f6bc575a73235d5c0ab (diff) | |
download | gpsd-5b4872aa4b38993f732e18b5c4ea44342cf32da0.tar.gz |
Highlight the remaining bashism.
Diffstat (limited to 'repo/hooks/ciabot.sh')
-rwxr-xr-x | repo/hooks/ciabot.sh | 2 |
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}) |