mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
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>
This commit is contained in:
parent
f41037358a
commit
f988aa6b32
@ -170,7 +170,7 @@ clean_up() {
|
|||||||
for pkg in ${pkgname[@]}; do
|
for pkg in ${pkgname[@]}; do
|
||||||
for file in ${pkg}-*-*-${CARCH}{${PKGEXT},${SRCEXT}}; do
|
for file in ${pkg}-*-*-${CARCH}{${PKGEXT},${SRCEXT}}; do
|
||||||
if [[ -h $file && ! -e $file ]]; then
|
if [[ -h $file && ! -e $file ]]; then
|
||||||
rm -f $file
|
rm -f "$file"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user