makepkg: allow passing arguments with spaces
commitfff6d9dc2e6c61f67d6a50e2dde655f388c173a8
authorAllan McRae <allan@archlinux.org>
Thu, 22 Oct 2009 04:25:24 +0000 (22 14:25 +1000)
committerDan McGee <dan@archlinux.org>
Sat, 24 Oct 2009 15:22:34 +0000 (24 10:22 -0500)
tree2575f71233320ffe8b4450e68aad59652705fff0
parent21caf8730f9d089e351bf73b8bfd46b316c518a9
makepkg: allow passing arguments with spaces

Currently makepkg takes the commandline arguments, assigns them to a
variable and passes that variable to the next makepkg call (within
fakeroot).

Use a comination of quotes and arrays in this process to ensure any
arguments passed within quotes and containing spaces stay as a single
argument during the second makepkg call.

Thanks to Dan for figuring out how to get this working.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in