summaryrefslogtreecommitdiff
path: root/python/lockfile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-03 19:13:16 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:41 +0700
commit682a76fec175ce44c5f357158e4056f812ab292a (patch)
treec4fcd037eb537bf1a4ac906c3bd1a5265c73215e /python/lockfile
parent217bf27553bacdf1694552103b66dbae5046bfc2 (diff)
downloadslackbuilds-682a76fec175ce44c5f357158e4056f812ab292a.tar.gz
python/lockfile: Fix typo in script, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'python/lockfile')
-rw-r--r--python/lockfile/lockfile.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/python/lockfile/lockfile.SlackBuild b/python/lockfile/lockfile.SlackBuild
index f8db698bc8..9831a4e670 100644
--- a/python/lockfile/lockfile.SlackBuild
+++ b/python/lockfile/lockfile.SlackBuild
@@ -14,11 +14,12 @@ PRGNAM=lockfile
VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-TAG=${PYTHON:-python}
+
+PYTHON=${PYTHON:-python}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -29,8 +30,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"