summaryrefslogtreecommitdiff
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorRyan Anderson <ryan@michonline.com>2006-01-08 12:35:36 +0300
committerSam Ravnborg <sam@mars.ravnborg.org>2006-01-08 20:44:01 +0300
commit24d49756aa67322c2def5dc97344615572ac454e (patch)
tree334341c33373de1d8ee84285219a985e6d7994fd /scripts/setlocalversion
parentcc6fa432f5eec26c43fd06c0314cb1c2cae6d9a1 (diff)
downloadlinux-24d49756aa67322c2def5dc97344615572ac454e.tar.xz
kbuild: In setlocalversion change -git_dirty to just -dirty
When building Debian packages directly from the git tree, the appended "git_dirty" is a problem due to the underscore. In order to cause the least problems, change that just to "dirty". Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/setlocalversion')
-rw-r--r--scripts/setlocalversion2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index f54dac88cfd1..9a23825218f2 100644
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -17,6 +17,6 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then
# Are there uncommitted changes?
if git diff-files | read dummy; then
- printf '%s' -git_dirty
+ printf '%s' -dirty
fi
fi