summaryrefslogtreecommitdiff
path: root/audio/dcd
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:04 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:04 -0400
commit5e3d3c54a746d5eb0b4a7218d4d32060f32add59 (patch)
tree2ba8d7417b237f12641ae0c793b06e05cf7b7b59 /audio/dcd
parent55b3e688ba03da90b1f52360117f3d1faf3bc395 (diff)
downloadslackbuilds-5e3d3c54a746d5eb0b4a7218d4d32060f32add59.tar.gz
audio/dcd: Fixed for bash4.
Diffstat (limited to 'audio/dcd')
-rw-r--r--audio/dcd/dcd.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/dcd/dcd.SlackBuild b/audio/dcd/dcd.SlackBuild
index 9d022697c6..e37e152384 100644
--- a/audio/dcd/dcd.SlackBuild
+++ b/audio/dcd/dcd.SlackBuild
@@ -52,12 +52,8 @@ ginstall -m 755 -s dcd $PKG/usr/bin
ginstall -m 755 -d $PKG/usr/man/man1
ginstall -m 644 dcd.1 $PKG/usr/man/man1
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;