aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:48 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:48 -0400
commitd64a928b94f6cd1197a2a6fc3f5a13de64dcc08c (patch)
treeb1b44bb656cc587e1432979c4c371164c9337b56
parent256c67354ddeb09452e465bf7e1853434f01402a (diff)
network/smb4k: Fixed for bash4.
-rw-r--r--network/smb4k/smb4k.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/smb4k/smb4k.SlackBuild b/network/smb4k/smb4k.SlackBuild
index dddb56e31fc1e..2bf7c420a2088 100644
--- a/network/smb4k/smb4k.SlackBuild
+++ b/network/smb4k/smb4k.SlackBuild
@@ -58,12 +58,8 @@ make
make install DESTDIR=$PKG
cd ..
-( 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 \