From: Rod Whitby Date: Fri, 15 Sep 2006 16:56:49 +0000 (+0000) Subject: util-linux: fixed the checklink function - it was not removing the correct file befor... X-Git-Tag: Release-2010-05/1~9453^2~796 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02ef6efbbecfa1ded658f43cc347db373b1c9c95;p=openembedded.git util-linux: fixed the checklink function - it was not removing the correct file before reinstating a symbolic link --- diff --git a/packages/util-linux/util-linux.inc b/packages/util-linux/util-linux.inc index 99207213bd..5d3c6b6f43 100644 --- a/packages/util-linux/util-linux.inc +++ b/packages/util-linux/util-linux.inc @@ -51,7 +51,7 @@ checklink() { value="$(readlink "$link")" if test "$value" = "$targ" then - rm "$link" + rm "$link$ext" ln -s "$targ"."${PN}" "$link$ext" return 0 else