Carefully select the directory for config.py
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1214 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
f3f7c9e655
commit
fb3e1edc00
|
@ -36,8 +36,7 @@ if [ ! -f $config_lb ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
target_subdir=`sed -n -e 's/^target \(.*\)$/\1/p' $config_lb`
|
||||
target_subdir=`dirname $config_lb`/$target_subdir
|
||||
target_subdir=$target_dir/`sed -n -e 's/^target \(.*\)$/\1/p' $config_lb`
|
||||
config_py=$target_subdir/config.py
|
||||
|
||||
if [ ! -d $target_subdir ] ; then
|
||||
|
|
Loading…
Reference in New Issue