|
From: Philippe W. <phi...@so...> - 2017-08-26 07:02:37
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=a34a4ebd13ccc2954553477cf90facc8ee971627 commit a34a4ebd13ccc2954553477cf90facc8ee971627 Author: Philippe Waroquiers <phi...@sk...> Date: Sat Aug 26 09:01:42 2017 +0200 Follow up to 9f9ad501 : ensure we only have a single X if several files modified Diff: --- auxprogs/make_or_upd_vgversion_h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auxprogs/make_or_upd_vgversion_h b/auxprogs/make_or_upd_vgversion_h index 3bccb28..7787b4c 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" |