summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-03-09 08:32:11 +0100
committerDan McGee <dan@archlinux.org>2012-03-16 18:01:52 +0100
commitf988aa6b32503f5d4003b1402089df74adf8b485 (patch)
tree1fbb3cf945f8abed28f170efdf9d95cf26a0e07c /scripts/makepkg.sh.in
parentf41037358af167424403d30a3b972b1fd733c755 (diff)
downloadpacman-f988aa6b32503f5d4003b1402089df74adf8b485.tar.gz
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>
Diffstat (limited to 'scripts/makepkg.sh.in')
-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