diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-15 11:03:55 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-15 11:03:55 -0500 |
commit | 908a308db05b3d10f55a58a0898e26f9fb3a7af0 (patch) | |
tree | 696fa7eea48fd4565a0cc5852ae2ee2606986e68 | |
parent | c307f2fd98a246bb0f8c810d0556b310f2b63f15 (diff) | |
download | squashfu-908a308db05b3d10f55a58a0898e26f9fb3a7af0.tar.gz |
Use quoted @ syntax for arrays, don't manually insert quotes
-rwxr-xr-x | squashfu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,8 +26,8 @@ create_new_squash () { # If making first seed, create it directly from source if [[ $1 -eq -1 ]]; then - mksquashfs $(for incl in ${INCLUDES[@]};do echo "$incl";done) "$SEED" -b 65536 \ - -ef $(for excl in ${EXCLUDES[@]};do echo "$excl";done) >/dev/null + info "Creating seed (this may take a while)" + mksquashfs "${INCLUDES[@]}" "$SEED" -b 65536 -e "${EXCLUDES[@]}" >/dev/null return $? fi |