summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:44 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:44 -0400
commitf9d207fe03d8917e6fce4de21d09d2cbee81fc21 (patch)
tree11dddbabebf59a7990662aee0fba62d54f082294 /misc
parent869cd87f5f0f86e172176015a2bab79ea0b04ccf (diff)
downloadslackbuilds-f9d207fe03d8917e6fce4de21d09d2cbee81fc21.tar.gz
misc/bsdsfv: Fixed for bash4.
Diffstat (limited to 'misc')
-rw-r--r--misc/bsdsfv/bsdsfv.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/bsdsfv/bsdsfv.SlackBuild b/misc/bsdsfv/bsdsfv.SlackBuild
index dab49c6d1b..c71c3e6534 100644
--- a/misc/bsdsfv/bsdsfv.SlackBuild
+++ b/misc/bsdsfv/bsdsfv.SlackBuild
@@ -62,10 +62,8 @@ fi
make CFLAGS="$SLKCFLAGS -Wall" || exit 1
make INSTALL_PREFIX=$PKG/usr install || exit 1
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- 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/man/man1
cp MANUAL $PKG/usr/man/man1/bsdsfv.1