diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:30:22 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:30:22 -0400 |
commit | e1a5cdf1cc733575d31f5829ea4c01587d1bd22f (patch) | |
tree | f8ab8104f03e9ada367bc150be0b94e0f066e70d /academic/avogadro | |
parent | c1bc1b7675a65ac3a2021f365cf90c30d2a374a5 (diff) | |
download | slackbuilds-e1a5cdf1cc733575d31f5829ea4c01587d1bd22f.tar.gz |
academic/avogadro: Fixed for bash4.
Diffstat (limited to 'academic/avogadro')
-rw-r--r-- | academic/avogadro/avogadro.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/avogadro/avogadro.SlackBuild b/academic/avogadro/avogadro.SlackBuild index 35665408e5..ed2d07cddc 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/ |