File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -965,7 +965,7 @@ make_prepare() {
965965 # Create squashfs
966966 mkdir -p -- " ${isofs_dir} /${install_dir} /${arch} "
967967 msg_info " Creating SquashFS image, this may take some time..."
968- mksquashfs " ${airootfs_dir} " " ${build_dir} /iso/${install_dir} /${arch} /airootfs.sfs" -noappend -comp " ${sfs_comp} " ${sfs_comp_opt}
968+ mksquashfs " ${airootfs_dir} " " ${build_dir} /iso/${install_dir} /${arch} /airootfs.sfs" -noappend -comp " ${sfs_comp} " " ${sfs_comp_opt[@]} "
969969
970970 # Create checksum
971971 msg_info " Creating checksum file for self-test..."
@@ -1120,9 +1120,9 @@ while true; do
11201120 ;;
11211121 -t | --comp-opts)
11221122 if [[ " ${2} " = " reset" ]]; then
1123- sfs_comp_opt=" "
1123+ sfs_comp_opt=()
11241124 else
1125- sfs_comp_opt=" ${2} "
1125+ sfs_comp_opt=( ${2} )
11261126 fi
11271127 shift 2
11281128 ;;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ boot_splash=false
3838
3939# See the `mksquashfs` help for details on these items.
4040sfs_comp=" xz"
41- sfs_comp_opt=" "
41+ sfs_comp_opt=()
4242
4343# Sets the default locale for the live environment.
4444# You can also place a package list for that locale name and install packages specific to that locale.
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ tarball=false
9999# See the `mksquashfs` help for details on these items.
100100# This variable overrides each build option "-c" or "-t".
101101sfs_comp=" xz"
102- sfs_comp_opt=" "
102+ sfs_comp_opt=()
103103
104104
105105# If set to true, include alteriso_info in iso root.
You can’t perform that action at this time.
0 commit comments