hooks/strip: do not strip files at /usr/lib/debug.

This commit is contained in:
Juan RP 2015-05-23 07:27:43 +02:00
parent 3058485fd1
commit 35bef58c7b
1 changed files with 1 additions and 1 deletions

View File

@ -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