wok-next diff mingw32-gcc/receipt @ rev 18732

Quote root dir in post_install (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 00:07:14 2015 +0100 (2015-12-21)
parents 9e01bc6321ea
children da5256dcf31a
line diff
     1.1 --- a/mingw32-gcc/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/mingw32-gcc/receipt	Mon Dec 21 00:07:14 2015 +0100
     1.3 @@ -84,8 +84,8 @@
     1.4  post_install()
     1.5  {
     1.6  	# Archives get stripped during packaging; need to run ranlib
     1.7 -	find "$1/usr/lib/gcc/$MINGW32_ID/" -name *.a -exec $MINGW32_ID-ranlib {} \;
     1.8 -	find "$1/usr/$MINGW32_ID/lib/" -name *.a -exec $MINGW32_ID-ranlib {} \;
     1.9 +	chroot "$1/" find "/usr/lib/gcc/$MINGW32_ID/" -name *.a -exec $MINGW32_ID-ranlib {} \;
    1.10 +	chroot "$1/" find "/usr/$MINGW32_ID/lib/" -name *.a -exec $MINGW32_ID-ranlib {} \;
    1.11  }
    1.12  
    1.13  # Rules to clean the package