Skip to content
Snippets Groups Projects
Commit e7a4dafb authored by Måns Rullgård's avatar Måns Rullgård
Browse files

set correct source path when running configure using relative path

Originally committed as revision 4236 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ad2b531d
No related branches found
No related tags found
No related merge requests found
...@@ -377,13 +377,13 @@ TARGET_OS=`( uname -s ) 2>&1` ...@@ -377,13 +377,13 @@ TARGET_OS=`( uname -s ) 2>&1`
esac esac
# find source path # 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="`echo $0 | sed -e 's#/configure##'`"
source_path_used="yes" source_path_used="yes"
if test -z "$source_path" -o "$source_path" = "." ; then if test -z "$source_path" -o "$source_path" = "." ; then
source_path=`pwd` source_path=`pwd`
source_path_used="no" source_path_used="no"
else
source_path="`cd \"$source_path\"; pwd`"
fi fi
FFMPEG_CONFIGURATION=" " FFMPEG_CONFIGURATION=" "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment