Commit c6befa16 authored by mru's avatar mru

Quote stored configure arguments containing spaces

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18252 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a4a9cdcd
......@@ -1220,7 +1220,12 @@ else
die "Out of tree builds are impossible with config.h in source dir."
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(){
thing=$1
......@@ -1315,7 +1320,7 @@ done
disabled logging && logfile=/dev/null
echo "# $0 $@" > $logfile
echo "# $0 $FFMPEG_CONFIGURATION" > $logfile
set >> $logfile
test -n "$cross_prefix" && enable cross_compile
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment