From e7491ac206f9977d914d31cf0f73e30cb109f67c Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 26 Aug 2010 14:13:33 +0700 Subject: [PATCH] simplify --- n/mongrel2/mongrel2.SlackBuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/n/mongrel2/mongrel2.SlackBuild b/n/mongrel2/mongrel2.SlackBuild index 0dfe7cb0..4c65c995 100755 --- a/n/mongrel2/mongrel2.SlackBuild +++ b/n/mongrel2/mongrel2.SlackBuild @@ -51,10 +51,9 @@ make install-bin PREFIX=$PKG$PREFIX sed -i 's|python setup.py install|python setup.py install --root=$(DESTDIR)|' Makefile make install-py DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -) +cd $PKG +find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find . | xargs file | grep "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 LICENSE docs/ examples/ $PKG/usr/doc/$PRGNAM-$VERSION @@ -73,5 +72,4 @@ $PRGNAM: http://mongrel2.org $PRGNAM: EOF -cd $PKG makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz