File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ jobs:
31
31
do
32
32
if test -f "$dir/theme.yaml"; then
33
33
# Keep only folder name
34
- theme=`basename ${dir%*/}`
34
+ theme=`basename " ${dir%*/}" `
35
35
36
36
# Setup selected theme in config.yaml
37
37
echo "Using theme $theme"
38
- sed -i " /THEME:/c\ THEME: $theme" config.yaml
38
+ sed -i ' /THEME:/c\ THEME: "'" $theme"'"' config.yaml
39
39
40
40
# For tests there is no real HW: use simulated LCD mode
41
41
# Check if theme is for 5"
42
- orientation=$(grep 'DISPLAY_SIZE' $dir/theme.yaml | sed 's/ //g')
42
+ orientation=$(grep 'DISPLAY_SIZE' " $dir/theme.yaml" | sed 's/ //g')
43
43
if [ "$orientation" == "DISPLAY_SIZE:5\"" ]; then
44
44
sed -i "/REVISION:/c\ REVISION : SIMU5" config.yaml
45
45
else
Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ jobs:
42
42
do
43
43
if test -f "$dir/theme.yaml"; then
44
44
# Keep only folder name
45
- theme=`basename ${dir%*/}`
45
+ theme=`basename " ${dir%*/}" `
46
46
47
47
# Setup selected theme in config.yaml
48
48
echo "Using theme $theme"
49
- sed -i " /THEME:/c\ THEME: $theme" config.yaml
50
-
49
+ sed -i ' /THEME:/c\ THEME: "'" $theme"'"' config.yaml
50
+
51
51
# For tests there is no real HW: use simulated LCD mode
52
52
# Check if theme is for 5"
53
- orientation=$(grep 'DISPLAY_SIZE' $dir/theme.yaml | sed 's/ //g')
53
+ orientation=$(grep 'DISPLAY_SIZE' " $dir/theme.yaml" | sed 's/ //g')
54
54
if [ "$orientation" == "DISPLAY_SIZE:5\"" ]; then
55
55
sed -i "/REVISION:/c\ REVISION: SIMU5" config.yaml
56
56
else
You can’t perform that action at this time.
0 commit comments