Explorar o código

More multi-profile work

bryan %!s(int64=2) %!d(string=hai) anos
pai
achega
a4efc9e7d1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      openwrtbuilder

+ 1 - 1
openwrtbuilder

@@ -636,7 +636,7 @@ main() {
         FILESDIR="${FILESDIR:=$BUILDROOT/files}"
 
         # precedence: user input>profile>env>hardcode
-        P_ARR[release]="${USER_RELEASE:=${P_ARR[release]}:=$RELEASE}"
+        P_ARR[release]="${USER_RELEASE:=${P_ARR[release]:=$RELEASE}}"
         P_ARR[build_dir]="$BUILDROOT/${P_ARR[profile]}-${P_ARR[release]}"
         P_ARR[sources_dir]="$BUILDROOT/sources"
         P_ARR[ib_archive]="${P_ARR[sources_dir]}/${P_ARR[profile]}-${P_ARR[release]}.tar.xz"