wok-4.x rev 9421

p7zip-full: Fix path in scripts
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Mar 30 20:42:02 2011 +0200 (2011-03-30)
parents c91552bc8307
children e40d8e48447d
files p7zip-full/receipt
line diff
     1.1 --- a/p7zip-full/receipt	Wed Mar 30 10:42:27 2011 +0000
     1.2 +++ b/p7zip-full/receipt	Wed Mar 30 20:42:02 2011 +0200
     1.3 @@ -26,8 +26,8 @@
     1.4  	cp -a $_pkg/usr/lib $fs/usr
     1.5  	
     1.6  	# Fix pathname in 7z scripts
     1.7 -	sed -i -e "s#$_pkg##" $fs/usr/bin/7z 
     1.8 -	sed -i -e "s#$_pkg##" $fs/usr/bin/7za
     1.9 -	sed -i -e "s#$_pkg##" $fs/usr/bin/7zr
    1.10 +	sed -i -e "s#.*$_pkg#\"#" $fs/usr/bin/7z 
    1.11 +	sed -i -e "s#.*$_pkg#\"#" $fs/usr/bin/7za
    1.12 +	sed -i -e "s#.*$_pkg#\"#" $fs/usr/bin/7zr
    1.13  }
    1.14