Skip to content

Commit 0cdf109

Browse files
committed
continue pleasing busybox
1 parent 1eeb19c commit 0cdf109

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

milpa

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ function @milpa.fail () {
7474
}
7575

7676
# create some files pipes for compa
77-
compaOut=$(mktemp -t "compaOut.XXX")
78-
compaErr=$(mktemp -t "compaErr.XXX")
77+
compaOut=$(mktemp -t "compaOut.XXXXXX")
78+
compaErr=$(mktemp -t "compaErr.XXXXXX")
7979
trap 'rm -rf $compaOut $compaErr' ERR EXIT TERM
8080

8181
# figure out what the user is asking for

repos/internal/commands/release/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fi
2424

2525
@milpa.log info "Starting build for ${MILPA_ARG_TARGETS[*]}"
2626
mkdir -p "$output"
27-
GOFLAGS="-trimpath" gox -osarch "${MILPA_ARG_TARGETS[*]}" \
27+
CGO_ENABLED=0 GOFLAGS="-trimpath" gox -osarch "${MILPA_ARG_TARGETS[*]}" \
2828
-parallel="$MILPA_OPT_PARALLEL" \
2929
-ldflags "-s -w -X main.version=${MILPA_VERSION}" \
3030
-output "$output/{{.OS}}-{{.Arch}}" || @milpa.fail "Could not build with gox"

0 commit comments

Comments
 (0)