Skip to contentSkip to conversation

java.bbclass: change a warning message to note

PATCH In review [email protected] 2 participants 2 messages May 30, 2016 – Jul 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 java.bbclass: change a warning message to note

From: Jackie Huang <[email protected]>

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.

---
 classes/java.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
classes/java.bbclass +1 -1
index ab51787..fc97295 100644
@@ -58,7 +58,7 @@ oe_jarinstall() {
   # Creates symlinks out of the remaining arguments.
   while [ "$#" -gt 0 ]; do
     if [ -e $dir/$1 -o -h $dir/$1 ]; then
-      bbwarn "file was in the way. removing:" $dir/$1
+      bbnote "file was in the way. removing:" $dir/$1
       rm $dir/$1
     fi
     ln -s $destname $dir/$1
Signature · 1 line
2.8.1
#1 lore raw
Quoted 7 lines · On Mon, May 30, 2016 at 5:37 AM, <[email protected]> wrote:

From: Jackie Huang <[email protected]>

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.

In master-next for test.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750