[oe] [STABLE][PATCH] java.bbclass: Use force (-f) for ln (suggested by Marcin).
Phil Blundell
pb at reciva.com
Tue Oct 6 08:40:12 UTC 2009
On Mon, 2009-10-05 at 23:08 +0200, Marcin Juszkiewicz wrote:
> @@ -72,7 +72,7 @@ oe_jarinstall() {
> oewarn "file was in the way. removing:" $dir/$1
> rm $dir/$1
> fi
> - ln -s $destname $dir/$1
> + ln -sf $destname $dir/$1
> shift
> done
> }
What's the reason for the -f argument? If the target file already
exists then it seems like that "rm" should already take care of it.
p.
More information about the Openembedded-devel
mailing list