From fb3e1edc0003f0f56954ab4f82fe4a290ff9bdb9 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Mon, 13 Oct 2003 20:07:42 +0000 Subject: Carefully select the directory for config.py git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1214 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- targets/buildtarget | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/targets/buildtarget b/targets/buildtarget index a72cbf7997..f90e040084 100755 --- a/targets/buildtarget +++ b/targets/buildtarget @@ -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 -- cgit v1.2.3