diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:30:27 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:30:27 -0400 |
commit | ca2e1b5c2d337bd4fe1d3c1dba343de629b7ed2d (patch) | |
tree | 9094a628543b782a2c5e96e1d9ecc76a4162bbe4 | |
parent | fbe413824360a1eaf4ececf746163ea0cc5f8a7e (diff) | |
download | slackbuilds-ca2e1b5c2d337bd4fe1d3c1dba343de629b7ed2d.tar.gz |
academic/genius: Fixed for bash4.
-rw-r--r-- | academic/genius/genius.SlackBuild | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild index e0846a18bf..a54a0cb32e 100644 --- a/academic/genius/genius.SlackBuild +++ b/academic/genius/genius.SlackBuild @@ -82,17 +82,8 @@ CXXFLAGS="$SLKCFLAGS" \ make 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 -) - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 cp -a TODO NEWS README AUTHORS ABOUT-NLS INSTALL ChangeLog \ |