wok diff openldap/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 17e313b5b9c1
children 970c5ec9a60a
line diff
     1.1 --- a/openldap/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/openldap/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -52,11 +52,11 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	( cd $1/$INSTALLED/ ; grep -l /etc/openldap/slapd.conf */receipt ) | \
     1.8 +	( cd "$1/$INSTALLED/" ; grep -l /etc/openldap/slapd.conf */receipt ) | \
     1.9  	while read file; do
    1.10  		pkg=$(dirname $file)
    1.11  		[ "$pkg" = "$PACKAGE" ] && continue
    1.12  		echo "Reconfiguring $pkg for $PACKAGE..."
    1.13 -		chroot $1/ tazpkg reconfigure $pkg
    1.14 +		chroot "$1/" tazpkg reconfigure $pkg
    1.15  	done
    1.16  }