From 687c78d5604ce299d5164ffd69de88f2dd10fefc Mon Sep 17 00:00:00 2001 From: dsomero Date: Fri, 22 Nov 2013 02:34:22 -0500 Subject: various: Fix SlackBuild formatting and comment nit picks. Signed-off-by: dsomero --- libraries/DevIL/DevIL.SlackBuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libraries/DevIL') diff --git a/libraries/DevIL/DevIL.SlackBuild b/libraries/DevIL/DevIL.SlackBuild index bcd254b1ce..42f8a8040c 100644 --- a/libraries/DevIL/DevIL.SlackBuild +++ b/libraries/DevIL/DevIL.SlackBuild @@ -10,12 +10,10 @@ PKG_VERSION=${VERSION}_rc2 BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -41,9 +39,9 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$(echo $PKG_VERSION | tr _ -).tar.gz cd $PRGNAM-$VERSION @@ -63,7 +61,7 @@ patch -p1 < $CWD/patches/devil-1.6.8-libpng14.patch # Thanks to David Somero for the heads up on this. patch -p1 < $CWD/patches/ILvoid_fix_1.diff patch -p1 < $CWD/patches/ILvoid_fix_2.diff -# There is a space in the filename's path, so we have to cd into +# There is a space in the filename's path, so we have to cd into # the offending directory before patching. ( cd cpp\ wrapper patch < $CWD/patches/ILvoid_fix_3.diff -- cgit v1.2.3