[SCM] libav/experimental: set correct source path when running configure using relative path

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:43:59 UTC 2013


The following commit has been merged in the experimental branch:
commit e7a4dafbe3dcf2e48e410ecf07a8eb9d2ef7ca10
Author: Måns Rullgård <mans at mansr.com>
Date:   Fri May 13 20:57:27 2005 +0000

    set correct source path when running configure using relative path
    
    Originally committed as revision 4236 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 6c2727b..1b601dc 100755
--- a/configure
+++ b/configure
@@ -377,13 +377,13 @@ TARGET_OS=`( uname -s ) 2>&1`
   esac
 
 # find source path
-# XXX: we assume an absolute path is given when launching configure, 
-# except in './configure' case.
 source_path="`echo $0 | sed -e 's#/configure##'`"
 source_path_used="yes"
 if test -z "$source_path" -o "$source_path" = "." ; then
     source_path=`pwd`
     source_path_used="no"
+else
+    source_path="`cd \"$source_path\"; pwd`"
 fi
 
 FFMPEG_CONFIGURATION=" "

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list