summaryrefslogtreecommitdiff
path: root/libraries/libdockapp/libdockapp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libdockapp/libdockapp.SlackBuild')
-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 dfce31e317..9814b65426 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 \