aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-29 13:03:37 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-29 13:03:37 +0000
commit54196f7673f1324abfb3c7510f7515c32db95032 (patch)
tree4cc37059b2f90e498717a03863ad8a015459ff81
parent3087b6686130813368cf64909cf7fd0dfb3af9e1 (diff)
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
-rwxr-xr-xguess-rev.sh2
1 files changed, 1 insertions, 1 deletions
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