diff options
-rwxr-xr-x | oe-init-build-env | 2 | ||||
-rwxr-xr-x | scripts/oe-setup-builddir | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/oe-init-build-env b/oe-init-build-env index 52495133fd..6fee5f72a6 100755 --- a/oe-init-build-env +++ b/oe-init-build-env | |||
@@ -46,7 +46,7 @@ OEROOT=`readlink -f "$OEROOT"` | |||
46 | export OEROOT | 46 | export OEROOT |
47 | . $OEROOT/scripts/oe-buildenv-internal && \ | 47 | . $OEROOT/scripts/oe-buildenv-internal && \ |
48 | $OEROOT/scripts/oe-setup-builddir && \ | 48 | $OEROOT/scripts/oe-setup-builddir && \ |
49 | [ -n "$BUILDDIR" ] && cd $BUILDDIR | 49 | [ -n "$BUILDDIR" ] && cd "$BUILDDIR" |
50 | unset OEROOT | 50 | unset OEROOT |
51 | unset BBPATH | 51 | unset BBPATH |
52 | unset THIS_SCRIPT | 52 | unset THIS_SCRIPT |
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index f73aa3416d..add0b50e25 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
@@ -23,7 +23,7 @@ if [ -z "$BUILDDIR" ]; then | |||
23 | exit 1 | 23 | exit 1 |
24 | fi | 24 | fi |
25 | 25 | ||
26 | mkdir -p $BUILDDIR/conf | 26 | mkdir -p "$BUILDDIR/conf" |
27 | 27 | ||
28 | if [ ! -d "$BUILDDIR" ]; then | 28 | if [ ! -d "$BUILDDIR" ]; then |
29 | echo >&2 "Error: The builddir ($BUILDDIR) does not exist!" | 29 | echo >&2 "Error: The builddir ($BUILDDIR) does not exist!" |
@@ -38,13 +38,13 @@ fi | |||
38 | cd "$BUILDDIR" | 38 | cd "$BUILDDIR" |
39 | 39 | ||
40 | if [ -f "$BUILDDIR/conf/templateconf.cfg" ]; then | 40 | if [ -f "$BUILDDIR/conf/templateconf.cfg" ]; then |
41 | TEMPLATECONF=$(cat $BUILDDIR/conf/templateconf.cfg) | 41 | TEMPLATECONF=$(cat "$BUILDDIR/conf/templateconf.cfg") |
42 | fi | 42 | fi |
43 | 43 | ||
44 | . $OEROOT/.templateconf | 44 | . $OEROOT/.templateconf |
45 | 45 | ||
46 | if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then | 46 | if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then |
47 | echo "$TEMPLATECONF" >$BUILDDIR/conf/templateconf.cfg | 47 | echo "$TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg" |
48 | fi | 48 | fi |
49 | 49 | ||
50 | # | 50 | # |
@@ -79,7 +79,7 @@ advantage of multiple cores for example. See the file for more information as | |||
79 | common configuration options are commented. | 79 | common configuration options are commented. |
80 | 80 | ||
81 | EOM | 81 | EOM |
82 | cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf | 82 | cp -f $OECORELOCALCONF "$BUILDDIR/conf/local.conf" |
83 | SHOWYPDOC=yes | 83 | SHOWYPDOC=yes |
84 | fi | 84 | fi |
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 |
105 | fi | 105 | fi |
106 | 106 | ||