aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/setlocalversion3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index acce8ebc5d40..52f032e409a3 100644
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -17,7 +17,8 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then
17 17
18 # Are there uncommitted changes? 18 # Are there uncommitted changes?
19 git update-index --refresh --unmerged > /dev/null 19 git update-index --refresh --unmerged > /dev/null
20 if git diff-index HEAD | read dummy; then 20 if git diff-index --name-only HEAD | grep -v "^scripts/package" \
21 | read dummy; then
21 printf '%s' -dirty 22 printf '%s' -dirty
22 fi 23 fi
23 24