summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:36 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:36 -0400
commit0fb083fff247e4d226688b5bed74d037422afe04 (patch)
tree154491b39dc14ddb3cb54e761a2c684c775b44b8
parent7dfaceb0fb0d09f2dba9056c8e4d27897ab42178 (diff)
downloadslackbuilds-0fb083fff247e4d226688b5bed74d037422afe04.tar.gz
system/fbterm: Fixed for bash4.
-rw-r--r--system/fbterm/fbterm.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/fbterm/fbterm.SlackBuild b/system/fbterm/fbterm.SlackBuild
index 94b8e45c8e..181722a22b 100644
--- a/system/fbterm/fbterm.SlackBuild
+++ b/system/fbterm/fbterm.SlackBuild
@@ -57,12 +57,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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;