summaryrefslogtreecommitdiff
path: root/system/opensc
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:59 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:59 -0400
commit925dd1cb1860cc6839abfcdce72b157fe818a002 (patch)
tree20bfad862466ff4c06a6f3c0a5d27f2813796020 /system/opensc
parent152683cc8dbfae04dec5200bcf83c66ac42e4a61 (diff)
downloadslackbuilds-925dd1cb1860cc6839abfcdce72b157fe818a002.tar.gz
system/opensc: Fixed for bash4.
Diffstat (limited to 'system/opensc')
-rw-r--r--system/opensc/opensc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/opensc/opensc.SlackBuild b/system/opensc/opensc.SlackBuild
index c38cc5ea9a..b33fb2965c 100644
--- a/system/opensc/opensc.SlackBuild
+++ b/system/opensc/opensc.SlackBuild
@@ -80,12 +80,8 @@ make install DESTDIR=$PKG
# Don't clobber the config file
mv $PKG/etc/opensc.conf $PKG/etc/opensc.conf.new
-( 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 || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;