summaryrefslogtreecommitdiff
path: root/academic/opengrads
diff options
context:
space:
mode:
Diffstat (limited to 'academic/opengrads')
-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