wok diff gnu-netcat/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 d1c17bd2c2bc
children d6ca18366f41
line diff
     1.1 --- a/gnu-netcat/receipt	Mon Dec 02 17:47:06 2013 +0000
     1.2 +++ b/gnu-netcat/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -35,15 +35,13 @@
     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/nc
    1.12 +	rm -f "$1/usr/bin/nc"
    1.13  	status
    1.14  }
    1.15  
    1.16  post_remove()
    1.17  {
    1.18 -	ln -s /bin/busybox $1/usr/bin/nc
    1.19 +	ln -s /bin/busybox "$1/usr/bin/nc"
    1.20  }
    1.21 \ No newline at end of file