aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-17 23:16:59 +0000
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-17 23:16:59 +0000
commitded2e16b350776d5435d047b128cd334860da205 (patch)
tree12462d822c62be13322e91e43b7de2dd7cbf06d0
parent784a519170d8e03efea3e2ef54d2d3670c67e982 (diff)
Fix guess-rev.sh where the builtin echo doesn't support -n
git-svn-id: svn://svn.berlios.de/openocd/trunk@1337 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 2e567b31..5884bad4 100755
--- a/guess-rev.sh
+++ b/guess-rev.sh
@@ -5,5 +5,5 @@ REV=unknown
which svnversion > /dev/null 2>&1 && REV=`svnversion -n`
-echo -n $REV
+`which echo` -n $REV