mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Fix mktemp invocation for OS X
Use explicit template instead. OS X doesn't have a no-prefix option.
This commit is contained in:
parent
e7a2d3090f
commit
4bda53cb7f
@ -145,7 +145,7 @@ function make-a-pr() {
|
|||||||
# https://github.com/github/hub/issues/976 Otherwise stdin is stolen
|
# https://github.com/github/hub/issues/976 Otherwise stdin is stolen
|
||||||
# when we shove the heredoc at hub directly, tickling the ioctl
|
# when we shove the heredoc at hub directly, tickling the ioctl
|
||||||
# crash.
|
# crash.
|
||||||
prtext="$(mktemp)" # cleaned in return_to_kansas
|
prtext="$(mktemp -t prtext.XXXX)" # cleaned in return_to_kansas
|
||||||
cat >"${prtext}" <<EOF
|
cat >"${prtext}" <<EOF
|
||||||
Automated cherry pick of ${PULLSUBJ}
|
Automated cherry pick of ${PULLSUBJ}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user