Browse Source

Bugfix: openwrt: Never include _ in platform name

Luke Dashjr 13 years ago
parent
commit
e201369b97
1 changed files with 1 additions and 1 deletions
  1. 1 1
      openwrt/multibuild.sh

+ 1 - 1
openwrt/multibuild.sh

@@ -15,7 +15,7 @@ vcfglist="$(
 )"
 plat1=''
 for cfn in $vcfglist; do
-	plat="$(perl -ple 's/^(\d+)\.config\.(\w+)_\w+$/$2/ or $_=""' <<<"$cfn")"
+	plat="$(perl -ple 's/^(\d+)\.config\.(\w+?)_\w+$/$2/ or $_=""' <<<"$cfn")"
 	test -n "$plat" ||
 		continue
 	platlist+=("$plat")