git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #257 from jhoblitt/bugfix/mktemp

fix dist.sh compatibility with GNU coreutils mktemp

commitfe143ca9e88d8b492d6b875e4f708ac630b86b0a authorJehiah Czebotar <jehiah@gmail.com> dateSat 18 Jun 2016, 23:24 (10 years ago) parenta6311970a7a90b
1 file changed+1−1
dist.sh+1−1
dist.sh+1−1
@@ -20,7 +20,7 @@ echo "... running tests"
2020
2121for os in windows linux darwin; do
2222 echo "... building v$version for $os/$arch"
23− BUILD=$(mktemp -d -t oauth2_proxy)
23+ BUILD=$(mktemp -d ${TMPDIR:-/tmp}/oauth2_proxy.XXXXXX)
2424 TARGET="oauth2_proxy-$version.$os-$arch.$goversion"
2525 GOOS=$os GOARCH=$arch CGO_ENABLED=0 go build -o $BUILD/$TARGET/oauth2_proxy || exit 1
2626 pushd $BUILD