summaryrefslogtreecommitdiff
path: root/libraries/gtkhtml
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:33 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:33 -0400
commitb4b6b6c96a6f909cc4ba2affb6086d5514a0c1c5 (patch)
tree52f04e2ba89a3e8bb16c65c31cc016c586f68ed6 /libraries/gtkhtml
parent5317df24d5b398f96975bf6dac7ade6a92d9fb1e (diff)
downloadslackbuilds-b4b6b6c96a6f909cc4ba2affb6086d5514a0c1c5.tar.gz
libraries/gtkhtml: Fixed for bash4.
Diffstat (limited to 'libraries/gtkhtml')
-rw-r--r--libraries/gtkhtml/gtkhtml.SlackBuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/libraries/gtkhtml/gtkhtml.SlackBuild b/libraries/gtkhtml/gtkhtml.SlackBuild
index 76a56f9f67..c5d9aac543 100644
--- a/libraries/gtkhtml/gtkhtml.SlackBuild
+++ b/libraries/gtkhtml/gtkhtml.SlackBuild
@@ -77,17 +77,9 @@ 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
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( 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
-)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \