summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-05-30 04:37:47 -0400
committerOtavio Salvador <otavio@ossystems.com.br>2016-07-18 10:43:23 -0300
commit4f7fb37a87e7d63a7419e480ea403aa02a2ce900 (patch)
treecc06b562e84a96944e70378282891f45197fe00b
parent5019f33ecc30608431f1221b27cdc78d439df328 (diff)
downloadmeta-java-4f7fb37a87e7d63a7419e480ea403aa02a2ce900.tar.gz
java.bbclass: change a warning message to note
The logic is to check if the destination file exists before create the symlink, and give a message about removing the existing file, it's harmless and not necessary to be a warning. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--classes/java.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/java.bbclass b/classes/java.bbclass
index ab51787..fc97295 100644
--- a/classes/java.bbclass
+++ b/classes/java.bbclass
@@ -58,7 +58,7 @@ oe_jarinstall() {
58 # Creates symlinks out of the remaining arguments. 58 # Creates symlinks out of the remaining arguments.
59 while [ "$#" -gt 0 ]; do 59 while [ "$#" -gt 0 ]; do
60 if [ -e $dir/$1 -o -h $dir/$1 ]; then 60 if [ -e $dir/$1 -o -h $dir/$1 ]; then
61 bbwarn "file was in the way. removing:" $dir/$1 61 bbnote "file was in the way. removing:" $dir/$1
62 rm $dir/$1 62 rm $dir/$1
63 fi 63 fi
64 ln -s $destname $dir/$1 64 ln -s $destname $dir/$1