[pacman-dev] [PATCH] Fix a possible bash-4.0 problem in makepkg

Marc - A. Dahlhaus [ Administration | Westermann GmbH ] mad at wol.de
Tue Apr 28 07:02:25 EDT 2009


Am Dienstag, den 28.04.2009, 12:57 +0200 schrieb Marc - A. Dahlhaus
[ Administration | Westermann GmbH ]:
> 
> An updated patch is attached.
> 
> Marc

This time inlined as the list munched it out of my message:



makepkg: Fix strip execution on compressed binarys in tidy_install.

Signed-of-by: Marc - A. Dahlhaus <mad at wol.de>

--- pacman-3.2.2.orig/scripts/makepkg.sh.in
+++ pacman-3.2.2/scripts/makepkg.sh.in
@@ -765,6 +765,8 @@ tidy_install() {
 		fi
 		find ${STRIP_DIRS[@]} -type f 2>/dev/null | while read binary ; do
 			case "$(file -biz "$binary")" in
+				*compressed-encoding*)
+					;; # Skip compressed binarys
 				*application/x-sharedlib*)  # Libraries (.so)
 					/usr/bin/strip --strip-debug "$binary";;
 				*application/x-archive*)    # Libraries (.a)



More information about the pacman-dev mailing list