sstate-cache-management.sh: fix it for downloaded file
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 29 Aug 2012 09:24:59 +0000 (09:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Aug 2012 00:44:06 +0000 (17:44 -0700)
commit8319c9ba7a00de8e0ae348331d216d8aaea00f4a
treecd46787354457916b609fb18f34934d873c2f737
parentd622ba7f6d46df2dff6654281a4670383b2592c4
sstate-cache-management.sh: fix it for downloaded file

Fix it for the downloaded sstate cache file
* The downloaded sstate cache file is in SSTATE_DIR, and there is a
  symlink points to it, the sstate cache file should not be removed if
  the corresponding symlink is kept, it would be removed when the
  symlink is removed (with -L option).

* Fix a comment line.

[YOCTO #2897]

(From OE-Core rev: 12ed7e6bb215e70b119d5ce123e36e2fd380ff1e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/sstate-cache-management.sh