summaryrefslogtreecommitdiff
path: root/desktop/obconf
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:01 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:01 -0400
commit88cc53a2f556f28bb00d3bc1cb2f8024451f148b (patch)
tree717ba61de0ecdef3bd426ccc4f00de1c2cec71bf /desktop/obconf
parentac4b47ab1701bb4193bc38edbd9605d362dc8e7a (diff)
downloadslackbuilds-88cc53a2f556f28bb00d3bc1cb2f8024451f148b.tar.gz
desktop/obconf: Fixed for bash4.
Diffstat (limited to 'desktop/obconf')
-rw-r--r--desktop/obconf/obconf.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/desktop/obconf/obconf.SlackBuild b/desktop/obconf/obconf.SlackBuild
index 0f274ed12b..dd6cbdf02b 100644
--- a/desktop/obconf/obconf.SlackBuild
+++ b/desktop/obconf/obconf.SlackBuild
@@ -72,17 +72,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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION