Commit 8794cfbb authored by James Almer's avatar James Almer

configure: fix --tempprefix option

It was broken in 091c9860
parent fc3a03fc
...@@ -3765,7 +3765,9 @@ HOSTEXESUF=$(exesuf $host_os) ...@@ -3765,7 +3765,9 @@ HOSTEXESUF=$(exesuf $host_os)
if [ -n "$tempprefix" ] ; then if [ -n "$tempprefix" ] ; then
mktemp(){ mktemp(){
echo $tempprefix.${HOSTNAME}.${UID} tmpname="$tempprefix.${HOSTNAME}.${UID}"
echo "$tmpname"
mkdir "$tmpname"
} }
elif ! check_cmd mktemp -u XXXXXX; then elif ! check_cmd mktemp -u XXXXXX; then
# simple replacement for missing mktemp # simple replacement for missing mktemp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment