summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorjamal <jamrial@gmail.com>2012-09-20 12:53:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-20 12:54:09 +0200
commit33f92a3ea297d7aa80613059aaf73053f5d23ad9 (patch)
tree9b1ba6884ce52f40fc8c284f5dbce45ed4ce75dc /configure
parentdb0087dc1d7fd449a9d501cbc6c6e08741a2bad0 (diff)
configure: fix git domain check with out of tree build
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c238e56e09..f0d8379272 100755
--- a/configure
+++ b/configure
@@ -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