diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:51 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:51 -0400 |
commit | 069127219f0cc0849d227cdf632d5282f1db4e67 (patch) | |
tree | 53d9f84dd28021f9b93d6a0017e05a8057a8f3b8 | |
parent | 246065b26449b670f2ce21d1b30d249574c4e2f8 (diff) |
network/js: Fixed for bash4.
-rw-r--r-- | network/js/js.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/js/js.SlackBuild b/network/js/js.SlackBuild index a898e1e4f84a2..5e6ceedbde4e0 100644 --- a/network/js/js.SlackBuild +++ b/network/js/js.SlackBuild @@ -65,12 +65,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp ../README README.html $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( 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/install cat $CWD/slack-desc > $PKG/install/slack-desc |