Skip to content

Commit

Permalink
Use quoted @ syntax for arrays, don't manually insert quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed Jan 15, 2010
1 parent c307f2f commit 908a308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions squashfu
Expand Up @@ -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

Expand Down

0 comments on commit 908a308

Please sign in to comment.