Browse Source

More multi-profile work

bryan 2 years ago
parent
commit
a4efc9e7d1
1 changed files with 1 additions and 1 deletions
  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"