aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-15 11:03:55 -0500
committerDave Reisner <d@falconindy.com>2010-01-15 11:03:55 -0500
commit908a308db05b3d10f55a58a0898e26f9fb3a7af0 (patch)
tree696fa7eea48fd4565a0cc5852ae2ee2606986e68
parentc307f2fd98a246bb0f8c810d0556b310f2b63f15 (diff)
downloadsquashfu-908a308db05b3d10f55a58a0898e26f9fb3a7af0.tar.gz
Use quoted @ syntax for arrays, don't manually insert quotes
-rwxr-xr-xsquashfu4
1 files 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