mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
f791fb4af4
Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Tim Harvey <tharvey@gateworks.com> [fixes]
12 lines
397 B
Diff
12 lines
397 B
Diff
--- a/scripts/setlocalversion
|
|
+++ b/scripts/setlocalversion
|
|
@@ -165,7 +165,7 @@ else
|
|
# annotated or signed tagged state (as git describe only
|
|
# looks at signed or annotated tags - git tag -a/-s) and
|
|
# LOCALVERSION= is not specified
|
|
- if test "${LOCALVERSION+set}" != "set"; then
|
|
+ if test "${CONFIG_LOCALVERSION+set}" != "set"; then
|
|
scm=$(scm_version --short)
|
|
res="$res${scm:++}"
|
|
fi
|