wok diff firefox-dev/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 1067bb7f1e24
children
line diff
     1.1 --- a/firefox-dev/receipt	Wed Dec 16 15:49:50 2015 +0100
     1.2 +++ b/firefox-dev/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -58,9 +58,9 @@
     1.4  {
     1.5  	for i in usr/share/idl/firefox- usr/include/firefox- \
     1.6  		usr/lib/firefox-devel- ; do
     1.7 -		for j in $(ls -d $1/$i* 2>/dev/null); do
     1.8 +		for j in $(ls -d "$1"/$i* 2>/dev/null); do
     1.9  			[ "${j##*-}" = "$VERSION" ] && continue
    1.10 -			[ ! -d $j ] || rm -rf $j
    1.11 +			[ ! -d "$j" ] || rm -rf "$j"
    1.12  		done
    1.13  	done
    1.14  }