summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-03-09 17:32:11 +1000
committerDan McGee <dan@archlinux.org>2012-03-16 12:01:52 -0500
commitf988aa6b32503f5d4003b1402089df74adf8b485 (patch)
tree1fbb3cf945f8abed28f170efdf9d95cf26a0e07c
parentf41037358af167424403d30a3b972b1fd733c755 (diff)
downloadpacman-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.in2
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