summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/oe-setup-builddir7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index b06880c9cb..201cea30bf 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -46,7 +46,10 @@ fi
46 46
47. "$OEROOT/.templateconf" 47. "$OEROOT/.templateconf"
48 48
49# 49# Keep the original TEMPLATECONF before possibly prefixing it with $OEROOT below.
50ORG_TEMPLATECONF=$TEMPLATECONF
51
52#
50# $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf 53# $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf
51# 54#
52if [ -n "$TEMPLATECONF" ]; then 55if [ -n "$TEMPLATECONF" ]; then
@@ -131,5 +134,5 @@ fi
131unset OECORENOTESCONF 134unset OECORENOTESCONF
132 135
133if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then 136if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then
134 echo "$TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg" 137 echo "$ORG_TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg"
135fi 138fi