From f988aa6b32503f5d4003b1402089df74adf8b485 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Fri, 9 Mar 2012 17:32:11 +1000 Subject: makepkg: quote removed filename as it can have spaces Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3-70-g09d2