wok diff gawk/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 d1139a9dbf88
line diff
     1.1 --- a/gawk/receipt	Sat Sep 07 18:25:02 2013 +0000
     1.2 +++ b/gawk/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -43,12 +43,10 @@
     1.4  # We must remove all Busybox symlink before installing.
     1.5  pre_install()
     1.6  {
     1.7 -	local root
     1.8 -	root=$1
     1.9 -	rm -f $root/usr/bin/awk
    1.10 +	rm -f "$1/usr/bin/awk"
    1.11  }
    1.12  
    1.13  post_remove()
    1.14  {
    1.15 -	ln -s /bin/busybox $1/usr/bin/awk
    1.16 +	ln -s /bin/busybox "$1/usr/bin/awk"
    1.17  }