Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=011493732b96ac5c2a84d2d01d66a6ca7bfda132

commit 011493732b96ac5c2a84d2d01d66a6ca7bfda132
Author: Michel Hermier <[email protected]>
Date:   Tue Nov 20 12:33:38 2012 +0100

scripts/makepkg

* Fix strip rule, an expands can lead to striping /lib, fixing by
enforcing local path.

diff --git a/scripts/makepkg b/scripts/makepkg
index 7fe4d8a..23fc1d1 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1830,11 +1830,11 @@ _subpkgs_removeemptydirfix()
_pkg_strip_hook()
{
msg "$1: Stripping debugging symbols from libraries..."
-       find {,usr,usr/local,opt/*}/lib -type f -not -name "*.dll" -not -name 
"*.exe" \
+       find ./{,usr,usr/local,opt/*}/lib -type f -not -name "*.dll" -not -name 
"*.exe" \
-exec /usr/bin/strip --strip-debug '{}' \; 2>&1 \
| grep -v "No such file" | grep -v "format not recognized"
msg "$1: Stripping symbols from binaries..."
-       find {,usr,usr/local,opt/*}/{bin,sbin} -type f -not -name "*.dll" -not 
-name "*.exe" \
+       find ./{,usr,usr/local,opt/*}/{bin,sbin} -type f -not -name "*.dll" 
-not -name "*.exe" \
-exec /usr/bin/strip '{}' \; 2>&1 \
| grep -v "No such file" | grep -v "format not recognized"
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to