aboutsummaryrefslogtreecommitdiff
path: root/misc/ccze/ccze.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ccze/ccze.SlackBuild')
-rw-r--r--misc/ccze/ccze.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/ccze/ccze.SlackBuild b/misc/ccze/ccze.SlackBuild
index a74935e69bdee..974104dfd5271 100644
--- a/misc/ccze/ccze.SlackBuild
+++ b/misc/ccze/ccze.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ccze
-# Written by Zbigniew Baniewski, zb@ispid.com.pl
+# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
PRGNAM=ccze
VERSION=0.2.1
@@ -46,10 +46,10 @@ tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
zcat $CWD/ccze_0.2.1-2.diff.gz | patch -p1 || exit
@@ -66,7 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;