aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/getver.sh
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-03-24 22:40:13 +0100
committerJohn Crispin <blogic@openwrt.org>2016-03-24 22:40:13 +0100
commitfa69553900516944fc43cf7b377105ea1f6d3db0 (patch)
tree2df1a9d02c0a785f6d5865bd6e82fbc65243e4ad /scripts/getver.sh
parent343c3be45451e4a11f03109bd6cb1dd9061ec5eb (diff)
downloadupstream-fa69553900516944fc43cf7b377105ea1f6d3db0.tar.gz
upstream-fa69553900516944fc43cf7b377105ea1f6d3db0.tar.bz2
upstream-fa69553900516944fc43cf7b377105ea1f6d3db0.zip
branding: add LEDE branding
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'scripts/getver.sh')
-rwxr-xr-xscripts/getver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/getver.sh b/scripts/getver.sh
index d3b68c8634..60adc42e92 100755
--- a/scripts/getver.sh
+++ b/scripts/getver.sh
@@ -11,7 +11,7 @@ try_version() {
try_git() {
git rev-parse --git-dir >/dev/null 2>&1 || return 1
- REV="$(git describe | sed "s/reboot-\([0-9]*\)-.*/\1/g")"
+ REV="$(git describe --match reboot | sed "s/reboot-\([0-9]*\)-.*/\1/g")"
[ -n "$REV" ]
}