diff options
author | Mans Rullgard <mans@mansr.com> | 2010-10-07 00:44:52 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-18 22:17:10 +0000 |
commit | 09a5c2452cab8931f70ecb51705114682c962f98 (patch) | |
tree | d4ea14e0a429817dd38555112258ad3b457f29aa /configure | |
parent | 44caaa560b8527acba99bc493040600add0fdb74 (diff) | |
download | ffmpeg-09a5c2452cab8931f70ecb51705114682c962f98.tar.gz |
configure: fix mktemp test and fallback function
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1792,11 +1792,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 |