diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:17 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:17 -0400 |
commit | 2a1ef9b7fcab724632c086e02ee7c2115fde170b (patch) | |
tree | ad6b55ed222e62128f20b142498166ee4f080a9c /libraries/libxmi | |
parent | c80e43112782112d826a6b259293ccebdbca3700 (diff) |
libraries/libxmi: Fixed for bash4.
Diffstat (limited to 'libraries/libxmi')
-rw-r--r-- | libraries/libxmi/libxmi.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libxmi/libxmi.SlackBuild b/libraries/libxmi/libxmi.SlackBuild index 1fa51db44995f..4a1627352c0fa 100644 --- a/libraries/libxmi/libxmi.SlackBuild +++ b/libraries/libxmi/libxmi.SlackBuild @@ -58,12 +58,8 @@ CFLAGS="$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 rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/*.info* |