aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:22 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:22 -0400
commite1a5cdf1cc733575d31f5829ea4c01587d1bd22f (patch)
treef8ab8104f03e9ada367bc150be0b94e0f066e70d
parentc1bc1b7675a65ac3a2021f365cf90c30d2a374a5 (diff)
academic/avogadro: Fixed for bash4.
-rw-r--r--academic/avogadro/avogadro.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/avogadro/avogadro.SlackBuild b/academic/avogadro/avogadro.SlackBuild
index 35665408e5ecb..ed2d07cddc54f 100644
--- a/academic/avogadro/avogadro.SlackBuild
+++ b/academic/avogadro/avogadro.SlackBuild
@@ -63,12 +63,8 @@ cd -
# Remove file to prevent avogadro from segfaulting.
#rm -f $PKG/usr/share/libavogadro/extensionScripts/example.py
-( 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/man/man1
install -m 0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1/