1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

configure: fix --tempprefix option

It was broken in 091c986055
This commit is contained in:
James Almer 2017-05-20 21:29:58 -03:00
parent fc3a03fcf9
commit 8794cfbbc5

4
configure vendored
View File

@ -3765,7 +3765,9 @@ HOSTEXESUF=$(exesuf $host_os)
if [ -n "$tempprefix" ] ; then
mktemp(){
echo $tempprefix.${HOSTNAME}.${UID}
tmpname="$tempprefix.${HOSTNAME}.${UID}"
echo "$tmpname"
mkdir "$tmpname"
}
elif ! check_cmd mktemp -u XXXXXX; then
# simple replacement for missing mktemp