configure: fix git domain check with out of tree build

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
jamal 2012-09-20 12:53:30 +02:00 committed by Michael Niedermayer
parent db0087dc1d
commit 33f92a3ea2
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -4376,7 +4376,7 @@ pkgconfig_generate libswresample "FFmpeg audio rescaling library" "$LIBSWRESAMPL
fix_ffmpeg_remote(){
git_remote_from=$1
git_remote_to=$2
fixme_remote=$(git remote -v | grep $git_remote_from | cut -f 1 | sort | uniq)
fixme_remote=$(git --git-dir=$source_path/.git --work-tree=$source_path remote -v | grep $git_remote_from | cut -f 1 | sort | uniq)
if [ "$fixme_remote" != "" ]; then
echolog "
Outdated domain in git config, the official domain for ffmpeg git is since