Selaa lähdekoodia

Prettify package list

bryan 2 vuotta sitten
vanhempi
commit
a9dd252ad6
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 $?