Fix for cache handling 89/4589/6
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Tue, 15 Dec 2015 14:57:46 +0000 (15:57 +0100)
committerStefan K. Berg <stefan.k.berg@ericsson.com>
Thu, 17 Dec 2015 23:37:25 +0000 (00:37 +0100)
commit429392e6041fd5777c9a5a437f6455bca0fe3ed8
tree730b872ef172ea826251f24decaead2e89090146
parentf86c13c4e5a301946e6151bf57760dcebab67265
Fix for cache handling

Introduced a separate function "getcommitid" in the cache.sh
- a.k.a. $(CACHETOOL) - so that given a repo and a tag, branch
or commitid the corresponding commitid is returned.

The same principle should be used in all caching functions where
not a strict tag or head is specified (as git ls-remote will not
be able to figure out the commit id in those cases).

Change-Id: I3540dca7ab408c872eaabdc68d4058f9d6d7c45f
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
build/cache.sh
build/f_isoroot/f_bgpvpn-pluginbuild/Makefile