summaryrefslogtreecommitdiff
path: root/firmware/scripts/mkcompile_h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/scripts/mkcompile_h')
-rwxr-xr-xfirmware/scripts/mkcompile_h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/scripts/mkcompile_h b/firmware/scripts/mkcompile_h
index 22ac262..c91c640 100755
--- a/firmware/scripts/mkcompile_h
+++ b/firmware/scripts/mkcompile_h
@@ -7,11 +7,11 @@ DATE=`LC_ALL=C LANG=C date +%Y%m%d-%H%M%S`
BY=`whoami`
HOST=`hostname | $TRUNCATE`
BYHOST=`echo ${BY}@${HOST} | $TRUNCATE`
-SVNREV=`svn info | grep \^Revision: | cut -c 11-`
+#SVNREV=`svn info | grep \^Revision: | cut -c 11-`
+#svn st | grep \^M >/dev/null
+#[ "$?" -eq "0" ] && SVNREV=${SVNREV}-unclean
-svn st | grep \^M >/dev/null
-
-[ "$?" -eq "0" ] && SVNREV=${SVNREV}-unclean
+SVNREV=`scripts/git-version-gen .tarball-version`
echo "#ifndef _COMPILE_H"
echo "#define _COMPILE_H"
personal git repositories of Harald Welte. Your mileage may vary