summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:44 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:44 -0400
commit8948c4cc8d138f604ceba4825038e8248743cbcd (patch)
treeda28247a92756133cf99df2aa6e02a84f2cb16ea
parentc07f2733f64013ca1d343130905efb88ed06bab5 (diff)
downloadslackbuilds-8948c4cc8d138f604ceba4825038e8248743cbcd.tar.gz
academic/opengrads: Fixed for bash4.
-rw-r--r--academic/opengrads/opengrads.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/opengrads/opengrads.SlackBuild b/academic/opengrads/opengrads.SlackBuild
index 8f2a619e35..83a677e20d 100644
--- a/academic/opengrads/opengrads.SlackBuild
+++ b/academic/opengrads/opengrads.SlackBuild
@@ -58,12 +58,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/usr/doc/$PRGNAM-$VERSION