瀏覽代碼

Prettify package list

bryan 2 年之前
父節點
當前提交
a9dd252ad6
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 $?