Win32 mktemp help
Signed-off-by: Richard Bonhomme <tincanteksup@gmail.com> Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
parent
e426db231d
commit
57ef07f133
@ -319,6 +319,7 @@ easyrsa_mktemp() {
|
||||
# win32 mktemp shipped by easyrsa returns template as file!
|
||||
if [ "$template" = "$tempfile" ]; then
|
||||
# but win32 mktemp -d does work
|
||||
# but win32 mktemp -u does not work
|
||||
tempfile=$(mktemp -du "$tempfile") || return
|
||||
printf "" > "$tempfile" || return
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user