aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:49 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:49 -0400
commitca4ada2a64f157ed3fc4931b5900e47e26ef8095 (patch)
tree9c62e815c70c3e095fccf53b5413224eee0d236f
parent89a90e873bdba254d58349eb087cc1db98a25294 (diff)
system/fxload: Fixed for bash4.
-rw-r--r--system/fxload/fxload.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/fxload/fxload.SlackBuild b/system/fxload/fxload.SlackBuild
index 0a3db2247996c..f24f1c6f01875 100644
--- a/system/fxload/fxload.SlackBuild
+++ b/system/fxload/fxload.SlackBuild
@@ -62,12 +62,8 @@ find . \
RPM_OPT_FLAGS="$SLKCFLAGS" make
make install prefix=$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
mv $PKG/usr/share/man $PKG/usr
( cd $PKG/usr/man