summaryrefslogtreecommitdiff
path: root/firmware/scripts/mkcompile_h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-30 19:04:55 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-30 19:04:55 +0200
commita3de0a4ac29118c3ada946a0c8f7f602c9066ec1 (patch)
tree8408d463a3ea6910d7336e24d60611da8a50b77d /firmware/scripts/mkcompile_h
parentdd88fde8d2b78243c01871cabca37c9e46ebd03d (diff)
parentffbce3ea2cda51214be0bb7a107954f890f99b0d (diff)
Merge branch 'simtrace'
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