diff options
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-x | scripts/oe-setup-builddir | 10 |
1 files changed, 5 insertions, 5 deletions
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 | ||