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 --- .../AssociationSubscribersManager.SlackBuild | 2 -- business/beancount/beancount.SlackBuild | 4 +--- business/gnucash/gnucash.SlackBuild | 2 +- business/lemonpos/lemonpos.SlackBuild | 2 -- business/openerp-client/openerp-client.SlackBuild | 2 -- business/openerp-server/openerp-server.SlackBuild | 2 -- 6 files changed, 2 insertions(+), 12 deletions(-) (limited to 'business') diff --git a/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild b/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild index 70639243b5..149ac629a3 100644 --- a/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild +++ b/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-3.2.0} BUILD=${BUILD:-1} 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 diff --git a/business/beancount/beancount.SlackBuild b/business/beancount/beancount.SlackBuild index 6da4842991..ee01fa4b92 100644 --- a/business/beancount/beancount.SlackBuild +++ b/business/beancount/beancount.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) export ARCH=i486 ;; arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac fi @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/business/gnucash/gnucash.SlackBuild b/business/gnucash/gnucash.SlackBuild index 73262f18fc..98af663309 100644 --- a/business/gnucash/gnucash.SlackBuild +++ b/business/gnucash/gnucash.SlackBuild @@ -92,7 +92,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/business/lemonpos/lemonpos.SlackBuild b/business/lemonpos/lemonpos.SlackBuild index 6e6f974380..ccd1f07500 100644 --- a/business/lemonpos/lemonpos.SlackBuild +++ b/business/lemonpos/lemonpos.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.9.3} BUILD=${BUILD:-1} 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 diff --git a/business/openerp-client/openerp-client.SlackBuild b/business/openerp-client/openerp-client.SlackBuild index aaec2a3859..bc58ffc6bf 100644 --- a/business/openerp-client/openerp-client.SlackBuild +++ b/business/openerp-client/openerp-client.SlackBuild @@ -27,12 +27,10 @@ VERSION=5.0.4 BUILD=${BUILD:-1} 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 diff --git a/business/openerp-server/openerp-server.SlackBuild b/business/openerp-server/openerp-server.SlackBuild index 262ccf2996..a3f4398e00 100644 --- a/business/openerp-server/openerp-server.SlackBuild +++ b/business/openerp-server/openerp-server.SlackBuild @@ -27,12 +27,10 @@ VERSION=5.0.4 BUILD=${BUILD:-1} 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 -- cgit v1.2.3