mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-23 18:05:20 +08:00
some more s/git-/git /
SVN-Revision: 12380
This commit is contained in:
parent
2311fc9850
commit
d58dd061fe
@ -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" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user