aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:41 -0400
commit3a21fdb8cd419c71d6bb6b62e416dda12952c640 (patch)
tree5c12b1a4a9652490cdf1fe1de094a63a3b4562fb
parent69fdd5a9f3906a88e124b5279b80c1647192827e (diff)
development/lazarus: Fixed for bash4.
-rw-r--r--development/lazarus/lazarus.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/lazarus/lazarus.SlackBuild b/development/lazarus/lazarus.SlackBuild
index 50b67c8b7907..a9d88e652446 100644
--- a/development/lazarus/lazarus.SlackBuild
+++ b/development/lazarus/lazarus.SlackBuild
@@ -76,12 +76,8 @@ make install \
ln -sf ../share/lazarus/startlazarus
)
-( 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
# Install desktop file, icon, and mime entry
mkdir -p $PKG/usr/share/{applications,pixmaps,mime/packages}