summaryrefslogtreecommitdiff
path: root/targets/buildtarget
diff options
context:
space:
mode:
Diffstat (limited to 'targets/buildtarget')
-rwxr-xr-xtargets/buildtarget3
1 files changed, 1 insertions, 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