aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:50 -0400
commitbc54c83ee3b48a7bbbfb8044e3eddc688ff0261a (patch)
treee759553531bfe0b282117bcf69d2a47f5b041972
parentad51655d4e4251772463edef0823ba7e88bdeb41 (diff)
academic/solfege: Fixed for bash4.
-rw-r--r--academic/solfege/solfege.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/solfege/solfege.SlackBuild b/academic/solfege/solfege.SlackBuild
index 75959e690c95b..0305bd76ba836 100644
--- a/academic/solfege/solfege.SlackBuild
+++ b/academic/solfege/solfege.SlackBuild
@@ -59,12 +59,8 @@ cat $CWD/solfege.1 > $TMP/$PRGNAM-$VERSION/solfege.1
make install DESTDIR=$PKG
-( 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 {} \;