aboutsummaryrefslogtreecommitdiff
path: root/development/lazarus
diff options
context:
space:
mode:
Diffstat (limited to 'development/lazarus')
-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}