diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-30 19:04:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-30 19:04:55 +0200 |
commit | a3de0a4ac29118c3ada946a0c8f7f602c9066ec1 (patch) | |
tree | 8408d463a3ea6910d7336e24d60611da8a50b77d /firmware/scripts/mkcompile_h | |
parent | dd88fde8d2b78243c01871cabca37c9e46ebd03d (diff) | |
parent | ffbce3ea2cda51214be0bb7a107954f890f99b0d (diff) |
Merge branch 'simtrace'
Diffstat (limited to 'firmware/scripts/mkcompile_h')
-rwxr-xr-x | firmware/scripts/mkcompile_h | 8 |
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" |