commit
d68e5d8d10
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu -o pipefail
|
||||
set -euo pipefail
|
||||
|
||||
if [ -z "${BINDIR}" ] && [ -z "${PREFIX}" ]; then
|
||||
PREFIX="$(realpath "$(dirname "$0")"/..)"
|
||||
if [ -z "${BINDIR:-}" ] && [ -z "${PREFIX:-}" ]; then
|
||||
PREFIX="$(realpath "$(dirname "$0")/..")"
|
||||
fi
|
||||
|
||||
: "${VERSION:=v0.5.1}"
|
||||
: "${VERSION:=v0.7.1}"
|
||||
: "${BINDIR:="${PREFIX}/bin"}"
|
||||
: "${DEST:="${BINDIR}/buildx"}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue