summaryrefslogtreecommitdiffstats
path: root/package/qt
diff options
context:
space:
mode:
authorStephan Hoffmann <sho@relinux.de>2012-12-02 00:56:07 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-02 08:07:04 -0800
commitd1f5fc29efd40d61e8a185a22e3ee6f52c10d43c (patch)
treee4f5147cf4f60eabc08119bdeee941f4c5f0160d /package/qt
parent4a4b0bdd0753fd039d2d3992eb85ea2e118dcbf4 (diff)
downloadbuildroot-novena-d1f5fc29efd40d61e8a185a22e3ee6f52c10d43c.tar.gz
buildroot-novena-d1f5fc29efd40d61e8a185a22e3ee6f52c10d43c.zip
pkg-download.mk: Fix shallow clone
Some git versions (e.g. 1.7.0) do not treat trying to shallow clone a non existing branch or tag as a fatal error but report a warning and clone HEAD instead. Thus the fallback mechanism does not work in this case. This patch introduces a check for the presence of the requested version as a branch or tag before trying the shallow clone. It also removes the need to do two clones when a sha1 is given as a packege version. [Peter: use cut -f2-] Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/qt')
0 files changed, 0 insertions, 0 deletions