aboutsummaryrefslogtreecommitdiff
path: root/libraries/cracklib
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:50 -0400
commitc09b5d4ccc01b8a319a73f3ead651178be125cf5 (patch)
tree6bc1e93a93222c0e05342e484731d8907ac99941 /libraries/cracklib
parentad10dfba93e46649c3574244c4e3b84371a6d570 (diff)
libraries/cracklib: Fixed for bash4.
Diffstat (limited to 'libraries/cracklib')
-rw-r--r--libraries/cracklib/cracklib.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/cracklib/cracklib.SlackBuild b/libraries/cracklib/cracklib.SlackBuild
index 4deff1f91c14..a29ba3f9b986 100644
--- a/libraries/cracklib/cracklib.SlackBuild
+++ b/libraries/cracklib/cracklib.SlackBuild
@@ -62,12 +62,8 @@ make install DESTDIR=$PKG
fi
)
-( 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/doc/$PRGNAM-$VERSION
cp -a \