tinyriscv-openocd/guess-rev.sh

9 lines
104 B
Bash
Executable File

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