diff options
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-x | scripts/oe-setup-builddir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index 6493e46b2b..d3c7f943e7 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
@@ -38,7 +38,7 @@ chmod -st "$BUILDDIR/conf" 2>/dev/null || echo "WARNING: unable to chmod $BUILDD | |||
38 | 38 | ||
39 | cd "$BUILDDIR" | 39 | cd "$BUILDDIR" |
40 | 40 | ||
41 | if [ -f "$BUILDDIR/conf/templateconf.cfg" ]; then | 41 | if [ -f "$BUILDDIR/conf/templateconf.cfg" -a -z "$TEMPLATECONF" ]; then |
42 | TEMPLATECONF=$(cat "$BUILDDIR/conf/templateconf.cfg") | 42 | TEMPLATECONF=$(cat "$BUILDDIR/conf/templateconf.cfg") |
43 | # The following two are no longer valid; unsetting them will automatically get them replaced | 43 | # The following two are no longer valid; unsetting them will automatically get them replaced |
44 | # with correct ones. | 44 | # with correct ones. |