changeset 24332:012188d367d3

add ; at the end of the sed commands. this fixes operation under cygwin.
author ivo
date Thu, 06 Sep 2007 16:28:31 +0000
parents f5edea48bb66
children d332d20ca300
files version.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/version.sh	Thu Sep 06 16:25:44 2007 +0000
+++ b/version.sh	Thu Sep 06 16:28:31 2007 +0000
@@ -4,7 +4,7 @@
 
 svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
 test $svn_revision || svn_revision=`grep revision .svn/entries 2>/dev/null | cut -d '"' -f2`
-test $svn_revision || svn_revision=`sed -n -e '/^dir$/{n;p;q}' .svn/entries 2>/dev/null`
+test $svn_revision || svn_revision=`sed -n -e '/^dir$/{n;p;q;}' .svn/entries 2>/dev/null`
 test $svn_revision || svn_revision=UNKNOWN
 
 NEW_REVISION="#define VERSION \"dev-SVN-r${svn_revision}${extra}\""