wok diff mingw32-w32api/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 bb009a6ef036
children ed8073aa8cf0
line diff
     1.1 --- a/mingw32-w32api/receipt	Sat Nov 30 15:44:51 2013 +0000
     1.2 +++ b/mingw32-w32api/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -54,9 +54,7 @@
     1.4  post_install()
     1.5  {
     1.6  	# Archives get stripped during packaging; need to run ranlib
     1.7 -	local root
     1.8 -	root=$1
     1.9 -	find $root/usr/$MINGW32_ID/lib/ -name *.a -exec $MINGW32_ID-ranlib {} \;
    1.10 +	find "$1/usr/$MINGW32_ID/lib/" -name *.a -exec $MINGW32_ID-ranlib {} \;
    1.11  }
    1.12  
    1.13  # Rules to clean the package