wok-6.x diff which/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents f4c22f009037
children 6fab3264ba87
line diff
     1.1 --- a/which/receipt	Sat Sep 07 18:25:02 2013 +0000
     1.2 +++ b/which/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -36,11 +36,9 @@
     1.4  #
     1.5  pre_install()
     1.6  {
     1.7 -	local root
     1.8 -	root=$1
     1.9  	echo "Processing pre-install commands..."
    1.10  	echo -n "Removing all Busybox replaced utils... "
    1.11 -	rm -f $root/usr/bin/which
    1.12 +	rm -f "$1/usr/bin/which"
    1.13  	status
    1.14  }
    1.15