mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Quote stored configure arguments containing spaces
Originally committed as revision 18252 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
67c447a679
commit
13cbe2c026
9
configure
vendored
9
configure
vendored
@ -1220,7 +1220,12 @@ else
|
|||||||
die "Out of tree builds are impossible with config.h in source dir."
|
die "Out of tree builds are impossible with config.h in source dir."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FFMPEG_CONFIGURATION="$@"
|
for v in "$@"; do
|
||||||
|
r="${v#*=}"
|
||||||
|
l="${v%$r}"
|
||||||
|
test "$r" = "${r#* }" || r="'$r'"
|
||||||
|
FFMPEG_CONFIGURATION="${FFMPEG_CONFIGURATION# } ${l}${r}"
|
||||||
|
done
|
||||||
|
|
||||||
find_things(){
|
find_things(){
|
||||||
thing=$1
|
thing=$1
|
||||||
@ -1315,7 +1320,7 @@ done
|
|||||||
|
|
||||||
disabled logging && logfile=/dev/null
|
disabled logging && logfile=/dev/null
|
||||||
|
|
||||||
echo "# $0 $@" > $logfile
|
echo "# $0 $FFMPEG_CONFIGURATION" > $logfile
|
||||||
set >> $logfile
|
set >> $logfile
|
||||||
|
|
||||||
test -n "$cross_prefix" && enable cross_compile
|
test -n "$cross_prefix" && enable cross_compile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user