]> git.sur5r.net Git - openocd/commitdiff
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 2e567b310778dc1a2970d08e3c55551fa37c0427..5884bad48f491a9741c4bcb3c82e035cd5b066d7 100755 (executable)
@@ -5,5 +5,5 @@ REV=unknown
 
 which svnversion > /dev/null 2>&1 && REV=`svnversion -n`
 
-echo -n $REV
+`which echo` -n $REV