projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: Upstep to git HEAD version
[oweals/openwrt.git]
/
scripts
/
getver.sh
diff --git
a/scripts/getver.sh
b/scripts/getver.sh
index d5f29864b57b24b2dab693ad88c58da4b4dcc623..ecf048f4c1c88b308295e5d9d79e34bc2f70a12e 100755
(executable)
--- a/
scripts/getver.sh
+++ b/
scripts/getver.sh
@@
-40,7
+40,7
@@
try_git() {
REV="${UPSTREAM_REV}+$((REV - UPSTREAM_REV))"
fi
- REV="${REV:+r$REV}"
+ REV="${REV:+r$REV
-$(git log --format="%h" -1)
}"
;;
esac