From: oharboe Date: Fri, 29 Feb 2008 13:03:37 +0000 (+0000) Subject: Pavel Chromy fix: the guess-rev.sh scripts to retrieve SVN revision returns the resul... X-Git-Tag: v0.1.0~891 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=54196f7673f1324abfb3c7510f7515c32db95032;ds=sidebyside Pavel Chromy fix: the guess-rev.sh scripts to retrieve SVN revision returns the result including new line causing PKGBLDREV macro to not work git-svn-id: svn://svn.berlios.de/openocd/trunk@398 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/guess-rev.sh b/guess-rev.sh index 15cfff4008..bd9a4a753d 100755 --- a/guess-rev.sh +++ b/guess-rev.sh @@ -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