aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:42 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:42 -0400
commitbd81753a8e0c55d265d789766f66b187ad6c287c (patch)
tree0e2ea95c666cb99144589fb9b637b9aa113f157b /system
parentd41ddc95edb401b055fa1ac6a675428a452f3260 (diff)
system/lxsplit: Fixed for bash4.
Diffstat (limited to 'system')
-rw-r--r--system/lxsplit/lxsplit.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/lxsplit/lxsplit.SlackBuild b/system/lxsplit/lxsplit.SlackBuild
index 3166f117d67fe..82669cbc19595 100644
--- a/system/lxsplit/lxsplit.SlackBuild
+++ b/system/lxsplit/lxsplit.SlackBuild
@@ -53,12 +53,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 \