diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:46:37 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:46:37 -0400 |
commit | 40e09e00ff21f3a38415224c99afd1abd6fcbf30 (patch) | |
tree | 0903cf03397f8e7767e03f5fc20b06352f68f114 | |
parent | 8b54989c0bff9a331cbc8ebc0256ec3e9c09698a (diff) | |
download | slackbuilds-40e09e00ff21f3a38415224c99afd1abd6fcbf30.tar.gz |
network/xnetload: Fixed for bash4.
-rw-r--r-- | network/xnetload/xnetload.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/xnetload/xnetload.SlackBuild b/network/xnetload/xnetload.SlackBuild index 9a7ee1863d..6730297138 100644 --- a/network/xnetload/xnetload.SlackBuild +++ b/network/xnetload/xnetload.SlackBuild @@ -48,12 +48,8 @@ make mkdir -p $PKG/usr/bin $PKG/usr/man/man1 make install BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man/man1 -( 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |