diff options
author | Allan McRae <allan@archlinux.org> | 2012-03-09 17:32:11 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-16 12:01:52 -0500 |
commit | f988aa6b32503f5d4003b1402089df74adf8b485 (patch) | |
tree | 1fbb3cf945f8abed28f170efdf9d95cf26a0e07c | |
parent | f41037358af167424403d30a3b972b1fd733c755 (diff) | |
download | pacman-f988aa6b32503f5d4003b1402089df74adf8b485.tar.xz |
makepkg: quote removed filename as it can have spaces
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 4656ab03..2d672a37 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -170,7 +170,7 @@ clean_up() { for pkg in ${pkgname[@]}; do for file in ${pkg}-*-*-${CARCH}{${PKGEXT},${SRCEXT}}; do if [[ -h $file && ! -e $file ]]; then - rm -f $file + rm -f "$file" fi done done |