summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xoe-init-build-env4
-rwxr-xr-xscripts/oe-setup-builddir8
2 files changed, 6 insertions, 6 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index 8c1bd54e57..38333ab858 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -42,8 +42,8 @@ fi
42unset THIS_SCRIPT 42unset THIS_SCRIPT
43 43
44export OEROOT 44export OEROOT
45. $OEROOT/scripts/oe-buildenv-internal && 45. "$OEROOT"/scripts/oe-buildenv-internal &&
46 TEMPLATECONF="$TEMPLATECONF" $OEROOT/scripts/oe-setup-builddir || { 46 TEMPLATECONF="$TEMPLATECONF" "$OEROOT"/scripts/oe-setup-builddir || {
47 unset OEROOT 47 unset OEROOT
48 return 1 48 return 1
49} 49}
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index d4ac074ad9..54048e62ec 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -42,7 +42,7 @@ if [ -f "$BUILDDIR/conf/templateconf.cfg" ]; then
42 TEMPLATECONF=$(cat "$BUILDDIR/conf/templateconf.cfg") 42 TEMPLATECONF=$(cat "$BUILDDIR/conf/templateconf.cfg")
43fi 43fi
44 44
45. $OEROOT/.templateconf 45. "$OEROOT"/.templateconf
46 46
47if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then 47if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then
48 echo "$TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg" 48 echo "$TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg"
@@ -79,7 +79,7 @@ example, select a different MACHINE (target hardware). See conf/local.conf
79for more information as common configuration options are commented. 79for more information as common configuration options are commented.
80 80
81EOM 81EOM
82 cp -f $OECORELOCALCONF "$BUILDDIR/conf/local.conf" 82 cp -f "$OECORELOCALCONF" "$BUILDDIR/conf/local.conf"
83 SHOWYPDOC=yes 83 SHOWYPDOC=yes
84fi 84fi
85 85
@@ -100,7 +100,7 @@ EOM
100 # to replace it for compatibility. 100 # to replace it for compatibility.
101 sed -e "s|##OEROOT##|$OEROOT|g" \ 101 sed -e "s|##OEROOT##|$OEROOT|g" \
102 -e "s|##COREBASE##|$OEROOT|g" \ 102 -e "s|##COREBASE##|$OEROOT|g" \
103 $OECORELAYERCONF > "$BUILDDIR/conf/bblayers.conf" 103 "$OECORELAYERCONF" > "$BUILDDIR/conf/bblayers.conf"
104 SHOWYPDOC=yes 104 SHOWYPDOC=yes
105fi 105fi
106 106
@@ -125,5 +125,5 @@ fi
125if [ -z "$OECORENOTESCONF" ]; then 125if [ -z "$OECORENOTESCONF" ]; then
126 OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt" 126 OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt"
127fi 127fi
128[ ! -r "$OECORENOTESCONF" ] || cat $OECORENOTESCONF 128[ ! -r "$OECORENOTESCONF" ] || cat "$OECORENOTESCONF"
129unset OECORENOTESCONF 129unset OECORENOTESCONF