aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/rastertospp/rastertospp.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/office/rastertospp/rastertospp.SlackBuild b/office/rastertospp/rastertospp.SlackBuild
index 884918e02eaf4..bea8f31370fc9 100644
--- a/office/rastertospp/rastertospp.SlackBuild
+++ b/office/rastertospp/rastertospp.SlackBuild
@@ -62,10 +62,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
gcc -Wall -lcupsimage -o $PKG/usr/lib${LIBDIRSUFFIX}/cups/filter/$PRGNAM ./$PRGNAM.c
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Add the ppd
mkdir -p $PKG/usr/share/cups/model/Samsung