mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
206e5f313e
SVN-Revision: 22832
12 lines
397 B
Diff
12 lines
397 B
Diff
--- a/scripts/setlocalversion
|
|
+++ b/scripts/setlocalversion
|
|
@@ -162,7 +162,7 @@ if test "$CONFIG_LOCALVERSION_AUTO" = "y
|
|
else
|
|
# apped a plus sign if the repository is not in a clean tagged
|
|
# state 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
|