Fix guess-rev.sh where the builtin echo doesn't support -n
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 17 Jan 2009 23:16:59 +0000 (23:16 +0000)
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 17 Jan 2009 23:16:59 +0000 (23:16 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1337 b42882b7-edfa-0310-969c-e2dbd0fdcd60

guess-rev.sh

index 2e567b3..5884bad 100755 (executable)
@@ -5,5 +5,5 @@ REV=unknown
 
 which svnversion > /dev/null 2>&1 && REV=`svnversion -n`
 
-echo -n $REV
+`which echo` -n $REV