From 908a308db05b3d10f55a58a0898e26f9fb3a7af0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 15 Jan 2010 11:03:55 -0500 Subject: Use quoted @ syntax for arrays, don't manually insert quotes --- squashfu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squashfu b/squashfu index 105d0f3..de50c80 100755 --- a/squashfu +++ b/squashfu @@ -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 -- cgit v1.2.3