aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdockapp
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:15 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:15 -0400
commit95f58f6ad4d23b44270cff1da801932cbb21910b (patch)
tree5690e1f0793c7ba2b29a3177c13a8ed182f94529 /libraries/libdockapp
parent5585b387d190525bcbb8f03ca71ac8a91f2888ce (diff)
libraries/libdockapp: Fixed for bash4.
Diffstat (limited to 'libraries/libdockapp')
-rw-r--r--libraries/libdockapp/libdockapp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libdockapp/libdockapp.SlackBuild b/libraries/libdockapp/libdockapp.SlackBuild
index dfce31e3171e..9814b65426a6 100644
--- a/libraries/libdockapp/libdockapp.SlackBuild
+++ b/libraries/libdockapp/libdockapp.SlackBuild
@@ -58,12 +58,8 @@ CFLAGS="$SLKCFLAGS" \
make XFONTDIR="\$(DESTDIR)/usr/share/fonts"
make install DESTDIR=$PKG XFONTDIR="\$(DESTDIR)/usr/share/fonts"
-( 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/doc/$PRGNAM-$VERSION
cp -a AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README \