[FFmpeg-cvslog] configure: fix --tempprefix option
James Almer
git at videolan.org
Sun May 21 03:30:35 EEST 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat May 20 21:29:58 2017 -0300| [8794cfbbc5dd0cf1e93cd4d7ab58e8c2b229cce6] | committer: James Almer
configure: fix --tempprefix option
It was broken in 091c9860559e4d33179747c5d651bc9e31bd76eb
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8794cfbbc5dd0cf1e93cd4d7ab58e8c2b229cce6
---
configure | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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
More information about the ffmpeg-cvslog
mailing list