diff options
author | Mans Rullgard <mans@mansr.com> | 2010-10-07 00:44:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-21 20:35:45 +0100 |
commit | ef44b5bf198d68a69a4ea3d62bf33cc2268bdd43 (patch) | |
tree | a34eaf8a32d43f48788f3fb206eea53b53c4f719 /configure | |
parent | 3b63a5220728b7f5c5a32c6bba373db05ba08829 (diff) | |
download | ffmpeg-ef44b5bf198d68a69a4ea3d62bf33cc2268bdd43.tar.gz |
configure: fix mktemp test and fallback function
(cherry picked from commit 09a5c2452cab8931f70ecb51705114682c962f98)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1793,11 +1793,11 @@ HOSTEXESUF=$(exesuf $host_os) : ${TMPDIR:=$TMP} : ${TMPDIR:=/tmp} -if ! check_cmd type mktemp; then +if ! check_cmd mktemp -u; then # simple replacement for missing mktemp # NOT SAFE FOR GENERAL USE mktemp(){ - echo "${2%XXX*}.${HOSTNAME}.${UID}.$$" + echo "${2%%XXX*}.${HOSTNAME}.${UID}.$$" } fi |