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://git.sur5r.net/?a=commitdiff_plain;h=54196f7673f1324abfb3c7510f7515c32db95032;p=openocd 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 15cfff40..bd9a4a75 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