From 6e09dc3c82b40f49cfadae0cdc10e4bc80b0c2c9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 26 Mar 2010 18:38:26 -0400 Subject: More removal of bashism. checkbashisms didn't spot this one, probably because it was embedded in a here-doc. --- repo/hooks/ciabot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'repo') diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh index ad8a4a5e..d33b90a3 100755 --- a/repo/hooks/ciabot.sh +++ b/repo/hooks/ciabot.sh @@ -90,8 +90,8 @@ gitver=$(git --version) gitver=${gitver##* } rev=$(git describe ${merged} 2>/dev/null) -# ${merged:0:12} here was the only bashism left in the 2008 version of -# this script, according to checkbashisms. Replace it with ${merged} +# ${merged:0:12} was the only bashism left in the 2008 version of this +# script, according to checkbashisms. Replace it with ${merged} here # because it was just a fallback anyway, and it's worth taking accepting # a longer fallback for faster execution and removing the bash deoendency. [ -z ${rev} ] && rev=${merged} @@ -129,7 +129,7 @@ out=" " ${sendmail} << EOM -Message-ID: <${merged:0:12}.${author}@${project}> +Message-ID: <${merged}.${author}@${project}> From: ${from} To: ${to} Content-type: text/xml -- cgit v1.2.1