aboutsummaryrefslogtreecommitdiff
path: root/graphics/resynthesizer
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:11 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:11 -0400
commitb487a2e158abc7faf573724ff76fbf319ebb3bcd (patch)
tree71ea98e0cfda40368b5014b052f1bff0f1f2c234 /graphics/resynthesizer
parente394e5df72336d3ce740107fb16bc21a62ae04dd (diff)
graphics/resynthesizer: Fixed for bash4.
Diffstat (limited to 'graphics/resynthesizer')
-rw-r--r--graphics/resynthesizer/resynthesizer.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/resynthesizer/resynthesizer.SlackBuild b/graphics/resynthesizer/resynthesizer.SlackBuild
index 49d9ce76fcf25..5b34109c4e39f 100644
--- a/graphics/resynthesizer/resynthesizer.SlackBuild
+++ b/graphics/resynthesizer/resynthesizer.SlackBuild
@@ -64,10 +64,8 @@ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins $PKG/usr/share/gimp/2.0/s
install -m 755 resynth $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins
install -m 644 smart-{enlarge,remove}.scm $PKG/usr/share/gimp/2.0/scripts
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION