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.
Signed-off-by: Jackie Huang <[email protected]> --- classes/java.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { # 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 -- 2.8.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
