summaryrefslogtreecommitdiff
path: root/system/amanda/amanda.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:44 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:44 -0400
commitec045c50f3765740dc2f07475fb1d73cc43b49c4 (patch)
tree70479ca4a6f8563fb5d34fd55cb13217c0ce7e01 /system/amanda/amanda.SlackBuild
parent0aee4d40b5437dc3e631a7fb774e2eadd6a0a3f1 (diff)
downloadslackbuilds-ec045c50f3765740dc2f07475fb1d73cc43b49c4.tar.gz
system/amanda: Fixed for bash4.
Diffstat (limited to 'system/amanda/amanda.SlackBuild')
-rw-r--r--system/amanda/amanda.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/amanda/amanda.SlackBuild b/system/amanda/amanda.SlackBuild
index c9d1196728..0255df3a0c 100644
--- a/system/amanda/amanda.SlackBuild
+++ b/system/amanda/amanda.SlackBuild
@@ -104,12 +104,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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 || 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
chown -R root:root $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;