aboutsummaryrefslogtreecommitdiff
path: root/network/js/js.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/js/js.SlackBuild')
-rw-r--r--network/js/js.SlackBuild8
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