We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48baaa1 commit 264d932Copy full SHA for 264d932
1 file changed
test/mkdevbranch
@@ -28,7 +28,7 @@ function version() {
28
#[ $1 -gt 70 ] || die "Expected the ietf number as argument on the command line, but found '$1'"
29
30
#if [ "$1" ]; then arg=$1; else arg=$(svn info http://svn.tools.ietf.org/svn/tools/ietfdb/trunk/ | egrep "^Last Changed Rev" | awk '{print $4}'); fi
31
-if [ "$1" ]; then arg=$1; else arg=$(svn ls http://svn.tools.ietf.org/svn/tools/ietfdb/tags/ | tail -n 1 | sed -r 's/^(.*)\/$/v\1/' ); fi
+if [ "$1" ]; then arg=$1; else arg=$(svn ls http://svn.tools.ietf.org/svn/tools/ietfdb/tags/ | egrep '^[0-9]' | tail -n 1 | sed -r 's/^(.*)\/$/v\1/' ); fi
32
33
if [ "${arg:0:1}" = "v" ]; then
34
source="tags/${arg:1}"
0 commit comments