summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/netbeans/netbeans.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/netbeans/netbeans.SlackBuild b/development/netbeans/netbeans.SlackBuild
index 71ae7c4ce6..a325de2b30 100644
--- a/development/netbeans/netbeans.SlackBuild
+++ b/development/netbeans/netbeans.SlackBuild
@@ -65,12 +65,8 @@ cd \$HOME
EOF
chmod 0755 $PKG/usr/bin/netbeans
-( 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
# Don't clobber any existing config file
mv $PKG/opt/$PRGNAM/etc/netbeans.conf \