aboutsummaryrefslogtreecommitdiff
path: root/office/rednotebook/rednotebook.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/rednotebook/rednotebook.SlackBuild')
-rw-r--r--office/rednotebook/rednotebook.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/office/rednotebook/rednotebook.SlackBuild b/office/rednotebook/rednotebook.SlackBuild
index 69972ad824370..41bb56e7a4c95 100644
--- a/office/rednotebook/rednotebook.SlackBuild
+++ b/office/rednotebook/rednotebook.SlackBuild
@@ -39,12 +39,8 @@ install -m 644 rednotebook.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/pixmaps
install -m 644 rednotebook.png $PKG/usr/share/pixmaps
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGELOG LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION