From 599ede96120307fbcc954327ccae56373de7680f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 06:37:00 -0400 Subject: [PATCH] business/openerp-server: Allow VERSION override, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- business/openerp-server/openerp-server.SlackBuild | 6 +++--- 1 file 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=""