From 5b4872aa4b38993f732e18b5c4ea44342cf32da0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 26 Mar 2010 10:56:30 -0400 Subject: Highlight the remaining bashism. --- repo/hooks/ciabot.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'repo') 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}) -- cgit v1.2.1