diff --git a/libraries/pytz/pytz.SlackBuild b/libraries/pytz/pytz.SlackBuild index 84db69caa5..a102270242 100644 --- a/libraries/pytz/pytz.SlackBuild +++ b/libraries/pytz/pytz.SlackBuild @@ -50,8 +50,8 @@ find . \ python setup.py install --root=$PKG -find $PKG | xargs file | grep "shared object" | grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES.txt LICENSE.txt PKG-INFO README.txt \