diff options
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-x | scripts/oe-setup-builddir | 7 |
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. |
50 | ORG_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 | # |
52 | if [ -n "$TEMPLATECONF" ]; then | 55 | if [ -n "$TEMPLATECONF" ]; then |
@@ -131,5 +134,5 @@ fi | |||
131 | unset OECORENOTESCONF | 134 | unset OECORENOTESCONF |
132 | 135 | ||
133 | if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then | 136 | if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then |
134 | echo "$TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg" | 137 | echo "$ORG_TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg" |
135 | fi | 138 | fi |