Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Application Framework: Fix bugs
[AGL/meta-agl.git]
/
meta-agl-bsp
/
meta-rcar-gen3
/
scripts
/
setup_mm_packages.sh
diff --git
a/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
b/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
index
dddb337
..
c886187
100644
(file)
--- a/
meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
+++ b/
meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
@@
-1,7
+1,7
@@
#!/bin/bash
#!/bin/bash
-ZIP_1="R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-
weston2-20170904
.zip"
-ZIP_2="R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-
weston2-20170904
.zip"
+ZIP_1="R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-
20180423
.zip"
+ZIP_2="R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-
20180423
.zip"
COPY_SCRIPT="$METADIR/meta-renesas-rcar-gen3/meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh"
COPY_SCRIPT="$METADIR/meta-renesas-rcar-gen3/meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh"
@@
-15,10
+15,14
@@
function color {
[[ $stdout_in_terminal == 0 ]] && return
for k in $*; do
case $k in
[[ $stdout_in_terminal == 0 ]] && return
for k in $*; do
case $k in
- bold) tput bold
2>/dev/null
;;
- none) tput sgr0
2>/dev/null
;;
- *) tput setaf $k
2>/dev/null
;;
+ bold) tput bold;;
+ none) tput sgr0;;
+ *) tput setaf $k;;
esac
esac
+ if [[ $? != 0 ]]; then
+ echo "tput: terminal doesn't support color settings, continuing" >&2
+ true
+ fi
done
}
color_green=$(color bold 2)
done
}
color_green=$(color bold 2)