Browse Source

Prettify package list

bryan 2 years ago
parent
commit
a9dd252ad6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      openwrtbuilder

+ 1 - 0
openwrtbuilder

@@ -759,6 +759,7 @@ main() {
         declare -g TARGET="${P_ARR[target]}"
         declare -g PROFILE="${P_ARR[profile]}"
         declare -g PACKAGES="${P_ARR[packages]:-}"
+        IFS=" " read -r -a PACKAGES <<< "$PACKAGES"
 
         if (( RESET )); then
             askOk "Remove $BUILDDIR and $BINDIR?" || exit $?