diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-24 14:16:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-24 14:16:49 +0000 |
commit | d58dd061fea1d30e4179828415aa887ff931cd48 (patch) | |
tree | 03c288bd02fcd0fa2aecff7161c9eaae28e6cf09 /scripts/getver.sh | |
parent | 2311fc9850b95a9778c7504837aae12c53080a91 (diff) | |
download | mtk-20170518-d58dd061fea1d30e4179828415aa887ff931cd48.zip mtk-20170518-d58dd061fea1d30e4179828415aa887ff931cd48.tar.gz mtk-20170518-d58dd061fea1d30e4179828415aa887ff931cd48.tar.bz2 |
some more s/git-/git /
SVN-Revision: 12380
Diffstat (limited to 'scripts/getver.sh')
-rwxr-xr-x | scripts/getver.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/getver.sh b/scripts/getver.sh index 82fe62b..5155792 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" ] } |