Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-05-21 03:29:58 +0300
committerJames Almer <jamrial@gmail.com>2017-05-21 03:29:58 +0300
commit8794cfbbc5dd0cf1e93cd4d7ab58e8c2b229cce6 (patch)
treef4c77f59eca6af3550916bbf42a9c72347e5f8a7 /configure
parentfc3a03fcf9cd7eafe7342e2508e6128888efa0bb (diff)
configure: fix --tempprefix option
It was broken in 091c9860559e4d33179747c5d651bc9e31bd76eb
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index e6aba0d88d..f8eb4417d8 100755
--- a/configure
+++ b/configure
@@ -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