summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:48 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:48 -0400
commit5b710b8c760099553983a09e9aa02917c9c62bdb (patch)
tree0648310d52dfcee58b69976ed28c0ad2dd015567
parent25dbf690bbe6bdd4ab5ce193d791934e7fe32f5d (diff)
downloadslackbuilds-5b710b8c760099553983a09e9aa02917c9c62bdb.tar.gz
desktop/dekorator: Fixed for bash4.
-rw-r--r--desktop/dekorator/dekorator.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/dekorator/dekorator.SlackBuild b/desktop/dekorator/dekorator.SlackBuild
index c2af3163dc..b8b0ff2a61 100644
--- a/desktop/dekorator/dekorator.SlackBuild
+++ b/desktop/dekorator/dekorator.SlackBuild
@@ -73,12 +73,8 @@ make VERBOSE=1
make install VERBOSE=1 DESTDIR=$PKG
cd -
-( 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 \