diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-03-26 18:38:26 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-03-26 18:38:26 -0400 |
commit | 6e09dc3c82b40f49cfadae0cdc10e4bc80b0c2c9 (patch) | |
tree | 5b2bdb7386d971fb30ad39ce615bd97973d52b96 /repo | |
parent | 63a5c633ca626f6b144dc3acb286713d2d030afa (diff) | |
download | gpsd-6e09dc3c82b40f49cfadae0cdc10e4bc80b0c2c9.tar.gz |
More removal of bashism.
checkbashisms didn't spot this one, probably because it was embedded
in a here-doc.
Diffstat (limited to 'repo')
-rwxr-xr-x | repo/hooks/ciabot.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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=" </message>" ${sendmail} << EOM -Message-ID: <${merged:0:12}.${author}@${project}> +Message-ID: <${merged}.${author}@${project}> From: ${from} To: ${to} Content-type: text/xml |