diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index f54dac88cfd1d86b2cbcf7e35e8b3880f9fcfce0..9a23825218f20135eadd4b348e45de2b21a3d421 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