From: Philippe Waroquiers Date: Sat, 26 Aug 2017 07:01:42 +0000 (+0200) Subject: Follow up to 9f9ad501 : ensure we only have a single X if several files modified X-Git-Tag: VALGRIND_3_14_0~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a34a4ebd13ccc2954553477cf90facc8ee971627;p=thirdparty%2Fvalgrind.git Follow up to 9f9ad501 : ensure we only have a single X if several files modified --- diff --git a/auxprogs/make_or_upd_vgversion_h b/auxprogs/make_or_upd_vgversion_h index 3bccb28297..7787b4c1ee 100755 --- a/auxprogs/make_or_upd_vgversion_h +++ b/auxprogs/make_or_upd_vgversion_h @@ -7,7 +7,7 @@ extract_git_version() REV=$(git show --format=%H#%ci -s $(git rev-parse HEAD) | sed -e 's/ .*//' -e 's/[0-9a-f]\{30\}#/#/' -e 's/-//g' \ -e 's/#/-/') - X=$(git status -s -uno | sed -e 's/.*/X/') + X=$(git status -s -uno | sed -e 's/.*/X/' | uniq) echo $REV$X else echo "unknown"