Fix mktemp invocation for OS X

Use explicit template instead.  OS X doesn't have a no-prefix option.
This commit is contained in:
Aaron Crickenberger 2015-11-30 12:11:42 -08:00
parent e7a2d3090f
commit 4bda53cb7f

View File

@ -145,7 +145,7 @@ function make-a-pr() {
# https://github.com/github/hub/issues/976 Otherwise stdin is stolen
# when we shove the heredoc at hub directly, tickling the ioctl
# crash.
prtext="$(mktemp)" # cleaned in return_to_kansas
prtext="$(mktemp -t prtext.XXXX)" # cleaned in return_to_kansas
cat >"${prtext}" <<EOF
Automated cherry pick of ${PULLSUBJ}