summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-18 21:01:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-18 21:01:31 +0700
commitdb65f40cac4aea0d761bcbeec835d82c2b722839 (patch)
tree1110b39d1dff73b80788b7531d1b62d0445f0200 /system
parent9c8cc6d9c60036a4ccdd3dafde8fd2ac0c7467a5 (diff)
downloadslackbuilds-db65f40cac4aea0d761bcbeec835d82c2b722839.tar.gz
Multiple: Remove comments and whitespaces.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/macemu/macemu.SlackBuild18
-rw-r--r--system/spice-vdagent/spice-vdagent.SlackBuild12
2 files changed, 15 insertions, 15 deletions
diff --git a/system/macemu/macemu.SlackBuild b/system/macemu/macemu.SlackBuild
index bfef813278..0c5afbf367 100644
--- a/system/macemu/macemu.SlackBuild
+++ b/system/macemu/macemu.SlackBuild
@@ -58,7 +58,7 @@ PRGNAM2=SheepShaver
DOCS1="COPYING ChangeLog README TECH TODO"
DOCS2="COPYING NEWS doc/Linux doc/PowerPC-Testsuite.txt"
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -67,16 +67,16 @@ 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 {} \;
# Build BasiliskII
cd $PRGNAM1/src/Unix
-NO_CONFIGURE=1 ./autogen.sh
+NO_CONFIGURE=1 ./autogen.sh
#LDFLAGS="-L/usr/lib$LIBDIRSUFFIX -lXext -lX11" \
CFLAGS="$SLKCFLAGS" \
@@ -104,7 +104,7 @@ if [ "$ARCH" = "x86_64" ]; then jit="no"; else jit="yes"; fi
cd $PRGNAM2/src/Unix
-NO_CONFIGURE=1 ./autogen.sh
+NO_CONFIGURE=1 ./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -144,7 +144,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM1
( cd $PRGNAM1
cp -a $DOCS1 $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM1 )
-( cd $PRGNAM2
+( cd $PRGNAM2
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM2
cp -a $DOCS2 $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM2 )
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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" \