summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.36/001-fix_localversion.patch
blob: 44b1775070fb44d6d8fe3c0a66a8e7253a824fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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