diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-12-01 19:28:18 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-12-01 19:28:18 +0200 |
commit | c97211187897fb7c4fd51d235192c4be5f3fb4c6 (patch) | |
tree | c8159a90aac38990a4e38d84f73d100a6faec184 | |
parent | d3e928aa397731f7661bad5e7fc73095002cc026 (diff) | |
download | alpine-iso-c97211187897fb7c4fd51d235192c4be5f3fb4c6.tar.bz2 alpine-iso-c97211187897fb7c4fd51d235192c4be5f3fb4c6.tar.xz |
mklatest: use abuild -A to deduce build architecture
-rw-r--r-- | mklatest.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mklatest.sh b/mklatest.sh index 8043ea2..9f7e86e 100644 --- a/mklatest.sh +++ b/mklatest.sh @@ -2,10 +2,7 @@ # create latest-releases.yaml file for mirrors -arch=$(uname -m) -case "$(uname -m)" in - i[0-9]86) arch=x86;; -esac +arch=$(abuild -A) current=$(cat current) || exit 1 if [ "${current%.*}" = "$current" ]; then |