summaryrefslogtreecommitdiff
path: root/system/spice-vdagent/spice-vdagent.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/spice-vdagent/spice-vdagent.SlackBuild')
-rw-r--r--system/spice-vdagent/spice-vdagent.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/spice-vdagent/spice-vdagent.SlackBuild b/system/spice-vdagent/spice-vdagent.SlackBuild
index 0db5a0472e..2b6003ef1b 100644
--- a/system/spice-vdagent/spice-vdagent.SlackBuild
+++ b/system/spice-vdagent/spice-vdagent.SlackBuild
@@ -55,7 +55,7 @@ fi
DOCS="COPYING ChangeLog README TODO"
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -64,11 +64,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \;
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \