openocd/guess-rev.sh
oharboe 54196f7673 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
2008-02-29 13:03:37 +00:00

9 lines
98 B
Bash
Executable File

#!/bin/bash
REV=unknown
which svnversion > /dev/null 2>&1 && REV=`svnversion -n`
echo -n $REV