summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:54 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:54 -0400
commit2ddff245b21a927ed5c7289f01144e97b229e9cf (patch)
tree9f991ded30d38e72c04dd8586a484eea4ee70d83
parentd64e955df7be374e97ceaa48436a704a8e141899 (diff)
downloadslackbuilds-2ddff245b21a927ed5c7289f01144e97b229e9cf.tar.gz
system/yeahconsole: Fixed for bash4.
-rw-r--r--system/yeahconsole/yeahconsole.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/yeahconsole/yeahconsole.SlackBuild b/system/yeahconsole/yeahconsole.SlackBuild
index d8015b82c4..d24f7ce245 100644
--- a/system/yeahconsole/yeahconsole.SlackBuild
+++ b/system/yeahconsole/yeahconsole.SlackBuild
@@ -65,12 +65,8 @@ make FLAGS="$SLKCFLAGS" LIBDIR="-L/usr/X11R6/lib$LIBDIRSUFFIX"
mkdir -p $PKG/usr/bin
make install PREFIX=$PKG/usr
-( 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 \