summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:50 -0400
commitb18189353a50b00d35c0df8c20ed6114a3aa66d0 (patch)
tree015db777a5c2364fa8cbe3d4d675fb648db74669
parent1f82b537754872f0f29cec0cb10ed0651d15d2fd (diff)
downloadslackbuilds-b18189353a50b00d35c0df8c20ed6114a3aa66d0.tar.gz
development/orc: Fixed for bash4.
-rw-r--r--development/orc/orc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/orc/orc.SlackBuild b/development/orc/orc.SlackBuild
index e0a7cf59ad..11e47f7a97 100644
--- a/development/orc/orc.SlackBuild
+++ b/development/orc/orc.SlackBuild
@@ -56,12 +56,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 || true
-)
+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/usr/doc/$PRGNAM-$VERSION
cp -a \