summaryrefslogtreecommitdiff
path: root/system/uptimed
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 14:35:46 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:08 +0000
commit77bb921ee2c6f760890b8ccc5d6dbf679b2aed9e (patch)
treef437c5f9635ecdbeb0b12373b369b77204a958db /system/uptimed
parente5720f1b7145f7104409f8f214a5c14fcf9bc2cd (diff)
downloadslackbuilds-77bb921ee2c6f760890b8ccc5d6dbf679b2aed9e.tar.gz
system/uptimed: Fix shebang, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/uptimed')
-rw-r--r--system/uptimed/uptimed.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/uptimed/uptimed.SlackBuild b/system/uptimed/uptimed.SlackBuild
index 5319ecf835..7695976e9e 100644
--- a/system/uptimed/uptimed.SlackBuild
+++ b/system/uptimed/uptimed.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
# Graham Orange v0.18 2015-11-02
# Copyright 2015 Graham Orange, USA
@@ -28,7 +28,7 @@ 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
@@ -41,8 +41,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"