From 4bda53cb7f8e8707aaa6dcfa5e0d9bc93bb5b226 Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Mon, 30 Nov 2015 12:11:42 -0800 Subject: [PATCH] Fix mktemp invocation for OS X Use explicit template instead. OS X doesn't have a no-prefix option. --- hack/cherry_pick_pull.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/cherry_pick_pull.sh b/hack/cherry_pick_pull.sh index 89d71fb8a6f..02451fdc92e 100755 --- a/hack/cherry_pick_pull.sh +++ b/hack/cherry_pick_pull.sh @@ -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}" <