[ar71xx] add uci-defaults script to migrate vlan 0 to vlan 1 after sysupgrade on...
[openwrt.git] / target / linux / generic / patches-2.6.35 / 001-fix_localversion.patch
1 --- a/scripts/setlocalversion
2 +++ b/scripts/setlocalversion
3 @@ -162,7 +162,7 @@ if test "$CONFIG_LOCALVERSION_AUTO" = "y
4  else
5         # apped a plus sign if the repository is not in a clean tagged
6         # state and  LOCALVERSION= is not specified
7 -       if test "${LOCALVERSION+set}" != "set"; then
8 +       if test "${CONFIG_LOCALVERSION+set}" != "set"; then
9                 scm=$(scm_version --short)
10                 res="$res${scm:++}"
11         fi