Use mktemp instead of tempfile for OSX compatibility
This commit is contained in:
parent
8b62f61b0b
commit
8c3f1efed4
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ if [ $# -eq 0 ]; then
|
|||
fi
|
||||
|
||||
# Create a helper script to send STDIN data to ssh-add
|
||||
HELPER=$(tempfile -m 0700)
|
||||
HELPER=$(mktemp)
|
||||
chmod 0700 ${HELPER}
|
||||
trap "rm ${HELPER}" EXIT
|
||||
|
||||
cat -s <<EOF > ${HELPER}
|
||||
|
|
Loading…
Reference in a new issue