kbuild: In setlocalversion change -git_dirty to just -dirty
authorRyan Anderson <ryan@michonline.com>
Sun, 8 Jan 2006 09:35:36 +0000 (04:35 -0500)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sun, 8 Jan 2006 17:44:01 +0000 (18:44 +0100)
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>
scripts/setlocalversion

index f54dac8..9a23825 100644 (file)
@@ -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