[PATCH] setlocalversion: Change -git_dirty to just -dirty

From: Ryan Anderson
Date: Sun Jan 08 2006 - 04:36:16 EST



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@xxxxxxxxxxxxxx>

--- linux-git.orig/scripts/setlocalversion 2006-01-07 01:48:21.000000000 -0500
+++ linux-git/scripts/setlocalversion 2006-01-08 04:32:49.000000000 -0500
@@ -17,6 +17,6 @@ if head=`git rev-parse --verify HEAD 2>/

# Are there uncommitted changes?
if git diff-files | read dummy; then
- printf '%s' -git_dirty
+ printf '%s' -dirty
fi
fi


--

Ryan Anderson
sometimes Pug Majere
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/