summaryrefslogtreecommitdiff
path: root/development/netbeans/netbeans.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:45 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:45 -0400
commit0c6f15c8de869f10cb4b1304904b4d5101369fa4 (patch)
tree980e6b36139eba16fdcf75ed7554c817da9283c2 /development/netbeans/netbeans.SlackBuild
parent61b0a01bf08bb9f9639da0563435702416c28b89 (diff)
downloadslackbuilds-0c6f15c8de869f10cb4b1304904b4d5101369fa4.tar.gz
development/netbeans: Fixed for bash4.
Diffstat (limited to 'development/netbeans/netbeans.SlackBuild')
-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 \