wok diff marco/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 a9c240804d58
children 6fab3264ba87
line diff
     1.1 --- a/marco/receipt	Sat Aug 08 19:51:47 2015 +0200
     1.2 +++ b/marco/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -44,11 +44,11 @@
     1.4  post_install()
     1.5  {
     1.6  	echo "Processing post-install commands..."
     1.7 -	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
     1.8 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
     1.9  }
    1.10  
    1.11  post_remove()
    1.12  {
    1.13  	echo "Processing post-remove commands..."
    1.14 -	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.15 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.16  }