From 35bef58c7b477db4f3539924a47516867a657c55 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 23 May 2015 07:27:43 +0200 Subject: [PATCH] hooks/strip: do not strip files at /usr/lib/debug. --- common/hooks/post-install/06-strip-and-debug-pkgs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/post-install/06-strip-and-debug-pkgs.sh b/common/hooks/post-install/06-strip-and-debug-pkgs.sh index 08ee87752a..9bc66c7aa7 100644 --- a/common/hooks/post-install/06-strip-and-debug-pkgs.sh +++ b/common/hooks/post-install/06-strip-and-debug-pkgs.sh @@ -65,7 +65,7 @@ hook() { STRIPCMD=/usr/bin/$STRIP find ${PKGDESTDIR} -type f | while read f; do - if [[ $f =~ ^/usr/lib/debug/ ]]; then + if [[ $f =~ ^${PKGDESTDIR}/usr/lib/debug/ ]]; then continue fi