提交 59faef3a 编写于 作者: B balrog

Fix building under paths with symlinks (patch from Richard Purdie).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3956 c046a42c-6fe2-441c-8c8c-71466251a162
上级 1d4db89c
...@@ -205,15 +205,17 @@ fi ...@@ -205,15 +205,17 @@ fi
# find source path # find source path
source_path=`dirname "$0"` source_path=`dirname "$0"`
source_path_used="no"
workdir=`pwd`
workdir=`readlink -f $workdir`
if [ -z "$source_path" ]; then if [ -z "$source_path" ]; then
source_path=`pwd` source_path=$workdir
else else
source_path=`cd "$source_path"; pwd` source_path=`cd "$source_path"; pwd`
fi source_path=`readlink -f $source_path`
if test "$source_path" = `pwd` ; then if test "$source_path" != "$workdir" ; then
source_path_used="no" source_path_used="yes"
else fi
source_path_used="yes"
fi fi
werror="no" werror="no"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册