aboutsummaryrefslogtreecommitdiff
path: root/libraries/cln/cln.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:48 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:48 -0400
commit050da04d322dbb2ee97950fd845048ed6b2797d0 (patch)
treef49ae4adba0ebb4a6a256da4e9a71f81fb85f430 /libraries/cln/cln.SlackBuild
parentab1977144846604a50474d4dd24172938c9e81c0 (diff)
libraries/cln: Fixed for bash4.
Diffstat (limited to 'libraries/cln/cln.SlackBuild')
-rw-r--r--libraries/cln/cln.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/cln/cln.SlackBuild b/libraries/cln/cln.SlackBuild
index 700434f2c7ad5..3482ba3317d6c 100644
--- a/libraries/cln/cln.SlackBuild
+++ b/libraries/cln/cln.SlackBuild
@@ -71,12 +71,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
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*