Pavel Chromy fix: the guess-rev.sh scripts to retrieve SVN revision returns the resul...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 29 Feb 2008 13:03:37 +0000 (13:03 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 29 Feb 2008 13:03:37 +0000 (13:03 +0000)
causing PKGBLDREV macro to not work

git-svn-id: svn://svn.berlios.de/openocd/trunk@398 b42882b7-edfa-0310-969c-e2dbd0fdcd60

guess-rev.sh

index 15cfff4..bd9a4a7 100755 (executable)
@@ -2,7 +2,7 @@
 
 REV=unknown
 
-which svnversion > /dev/null 2>&1 && REV=`svnversion`
+which svnversion > /dev/null 2>&1 && REV=`svnversion -n`
 
 echo -n $REV