diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-02-27 22:35:43 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-03 08:42:07 +0700 |
commit | 95a53f79db8e67138b8fe8a2e2830d5e24bfe61a (patch) | |
tree | 9413b9550072f44c9a1d31ef8109aa24600f20d2 /development/dart | |
parent | 49ce6839c301424035474f723b1327794af9c8f0 (diff) | |
download | slackbuilds-95a53f79db8e67138b8fe8a2e2830d5e24bfe61a.tar.gz |
development/dart: Fix build with ARCH=i686.
Fix a couple of bashisms too.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/dart')
-rw-r--r-- | development/dart/dart.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/development/dart/dart.SlackBuild b/development/dart/dart.SlackBuild index 9d7a66a7f5..f6706baec2 100644 --- a/development/dart/dart.SlackBuild +++ b/development/dart/dart.SlackBuild @@ -44,13 +44,13 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" == "x86_64" ]; then +if [ "$ARCH" = "x86_64" ]; then PKG_PLATFORM="x64" DARTIUM_VERSION=1.24.2 -elif [ "$ARCH" == "i586" ]; then +elif [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then PKG_PLATFORM="ia32" DARTIUM_VERSION=1.22.0 -elif [ "$ARCH" == "arm" ]; then +elif [ "$ARCH" = "arm" ]; then PKG_PLATFORM="arm" fi |