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:
Eric Biederman 2003-10-13 20:07:42 +00:00
parent f3f7c9e655
commit fb3e1edc00
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@ if [ ! -f $config_lb ]; then
exit 1 exit 1
fi fi
target_subdir=`sed -n -e 's/^target \(.*\)$/\1/p' $config_lb` target_subdir=$target_dir/`sed -n -e 's/^target \(.*\)$/\1/p' $config_lb`
target_subdir=`dirname $config_lb`/$target_subdir
config_py=$target_subdir/config.py config_py=$target_subdir/config.py
if [ ! -d $target_subdir ] ; then if [ ! -d $target_subdir ] ; then