aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:33 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:33 -0400
commitdb7035099d868e0b448fd8a6c155436daf53ce59 (patch)
treed2b9ba1311f5f8a032e909e23a80d9de7e5c280b
parentd82e939981e914a172aa05369892c15ea9195765 (diff)
office/rastertospp: Fixed for bash4.
-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