- guess-rev.sh now works as expected when build_dir is not the same as src_dir
[openocd.git] / guess-rev.sh
1 #!/bin/bash
2 #
3
4 REV=unknown
5
6 which svnversion > /dev/null 2>&1 && REV=`svnversion -n "$1"`
7
8 echo -n $REV