summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:43 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:43 -0400
commitebeacbc0fe0d66612af52885b44664daae8fcae0 (patch)
tree5ea3f9a69b9f4caa9459c9b7738c6a4c1213914c
parent13294b07460d5a4070defec2b3e6436c31e0e974 (diff)
downloadslackbuilds-ebeacbc0fe0d66612af52885b44664daae8fcae0.tar.gz
desktop/avant-window-navigator: Fixed for bash4.
-rw-r--r--desktop/avant-window-navigator/avant-window-navigator.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
index 4ca3bfa69f..d7f46691af 100644
--- a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
+++ b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
@@ -54,12 +54,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
-)
+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 \