diff options
author | Måns Rullgård <mans@mansr.com> | 2005-05-13 20:57:27 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-05-13 20:57:27 +0000 |
commit | e7a4dafbe3dcf2e48e410ecf07a8eb9d2ef7ca10 (patch) | |
tree | 5dc309365849b04700d64b4856365d4775e971ed | |
parent | ad2b531d3ffbcb074a81f8e6a35f500519b6909a (diff) | |
download | ffmpeg-e7a4dafbe3dcf2e48e410ecf07a8eb9d2ef7ca10.tar.gz |
set correct source path when running configure using relative path
Originally committed as revision 4236 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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=" " |