summaryrefslogtreecommitdiffstats
path: root/business
diff options
context:
space:
mode:
author B. Watson2017-03-20 11:37:00 +0100
committer David Spencer2017-03-25 14:26:57 +0100
commita5abb418aee3125b7ec898f783d659a53166321b (patch)
tree34af4ce87a3c86d9f5ce1d1e68f21e8deb641ef5 /business
parentc20c3cd4583bf152c742a7a5aea0d43113c7350b (diff)
downloadold.slackbuilds-a5abb418aee3125b7ec898f783d659a53166321b.tar.gz
business/openerp-server: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'business')
-rw-r--r--business/openerp-server/openerp-server.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/business/openerp-server/openerp-server.SlackBuild b/business/openerp-server/openerp-server.SlackBuild
index 3a22ffb48d..e5b85aadb3 100644
--- a/business/openerp-server/openerp-server.SlackBuild
+++ b/business/openerp-server/openerp-server.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openerp-server
-VERSION=5.0.4
+VERSION=${VERSION:-5.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""