summaryrefslogtreecommitdiff
path: root/development/lazarus/lazarus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/lazarus/lazarus.SlackBuild')
-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 50b67c8b79..a9d88e6524 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}