aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:25 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:25 -0400
commit5e7a78ef5ac2a68f9e8f2e646b31ea2200b36022 (patch)
tree8af877943a74be30678003c8e77698507a3766ab
parent2663a7d37fdf17a47b8288a6cf20c92ba48a1704 (diff)
libraries/rxtx: Fixed for bash4.
-rw-r--r--libraries/rxtx/rxtx.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/rxtx/rxtx.SlackBuild b/libraries/rxtx/rxtx.SlackBuild
index 27e2b6d569993..01a23f167ed1c 100644
--- a/libraries/rxtx/rxtx.SlackBuild
+++ b/libraries/rxtx/rxtx.SlackBuild
@@ -63,12 +63,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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/$JAVA_HOME/lib/
cat << EOF > $PKG/$JAVA_HOME/lib/javax.comm.properties