X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/25040fe2c0cc788e36c2f4a4d82e84ddea8a71a1..8e777a33d87738a9f197df05c8ed312c050ea26f:/scripts/getver.sh diff --git a/scripts/getver.sh b/scripts/getver.sh index 82fe62b18..515579201 100755 --- a/scripts/getver.sh +++ b/scripts/getver.sh @@ -18,7 +18,7 @@ try_svn() { try_git() { [ -d .git ] || return 1 - REV="$(git-log | grep -m 1 git-svn-id | awk '{ gsub(/.*@/, "", $2); print $2 }')" + REV="$(git log | grep -m 1 git-svn-id | awk '{ gsub(/.*@/, "", $2); print $2 }')" REV="${REV:+r$REV}" [ -n "$REV" ] }