summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:53 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:53 -0400
commitda7b6f30a6546018831b9d926738ae39dec6fae2 (patch)
treec694c0cebce55d7c1692f9bc00b08faa93ed5e1e /graphics
parentf1eeeded0820c06d099ce524e324f8a5b1b445c8 (diff)
downloadslackbuilds-da7b6f30a6546018831b9d926738ae39dec6fae2.tar.gz
graphics/exiftags: Fixed for bash4.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/exiftags/exiftags.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/exiftags/exiftags.SlackBuild b/graphics/exiftags/exiftags.SlackBuild
index 47c935e0e3..ca4dadf808 100644
--- a/graphics/exiftags/exiftags.SlackBuild
+++ b/graphics/exiftags/exiftags.SlackBuild
@@ -52,12 +52,8 @@ cp -a exifcom exiftags exiftime $PKG/usr/bin
mkdir -p $PKG/usr/man/man1
cp -a exifcom.1 exiftags.1 exiftime.1 $PKG/usr/man/man1
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;