summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:35 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:35 -0400
commitd6b1d7772e947548dad1804f4f189e3b1257e3db (patch)
treebd950ce1ddb45739b73cb82a17ddee2792a55943 /network
parente9525378cb3483fcef00f0b0ff03415c286c83ec (diff)
downloadslackbuilds-d6b1d7772e947548dad1804f4f189e3b1257e3db.tar.gz
network/psi: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/psi/psi.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/psi/psi.SlackBuild b/network/psi/psi.SlackBuild
index 36cb842365..3ea63d08e5 100644
--- a/network/psi/psi.SlackBuild
+++ b/network/psi/psi.SlackBuild
@@ -49,12 +49,8 @@ find . \
make
make install INSTALL_ROOT=$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
-)
+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 COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION