aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:52 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:52 -0400
commit23661c70e18b7776f1e52980e819b48c0c0a3d2c (patch)
tree9971c7a14ba0b2be389ebbf79af70cb49cdd30ea
parentb1d1083f76fb74a6d08a3b38ab594afbb5bb8ba0 (diff)
desktop/enlightenment: Fixed for bash4.
-rw-r--r--desktop/enlightenment/enlightenment.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/enlightenment/enlightenment.SlackBuild b/desktop/enlightenment/enlightenment.SlackBuild
index 9f8dc63f57630..20e3950088c5b 100644
--- a/desktop/enlightenment/enlightenment.SlackBuild
+++ b/desktop/enlightenment/enlightenment.SlackBuild
@@ -55,12 +55,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/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION