From 0c6f15c8de869f10cb4b1304904b4d5101369fa4 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:33:45 -0400 Subject: development/netbeans: Fixed for bash4. --- development/netbeans/netbeans.SlackBuild | 8 ++------ 1 file 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 \ -- cgit v1.2.3