projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts/feeds: add support for installing targets
[librecmc/librecmc.git]
/
scripts
/
getver.sh
diff --git
a/scripts/getver.sh
b/scripts/getver.sh
index 8bb384bd538fbc4a3a249d666cd8dc216e7fb63d..4643ca63ff0bb43b344fa4f9dfef383567c128ff 100755
(executable)
--- a/
scripts/getver.sh
+++ b/
scripts/getver.sh
@@
-17,7
+17,7
@@
try_svn() {
}
try_git() {
- [ -
d
.git ] || return 1
+ [ -
e
.git ] || return 1
REV="$(git log | grep -m 1 git-svn-id | awk '{ gsub(/.*@/, "", $0); print $1 }')"
REV="${REV:+r$REV}"
[ -n "$REV" ]