download/git: don't require too-recent git
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Apr 2018 15:48:11 +0000 (17:48 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 8 Apr 2018 19:46:36 +0000 (21:46 +0200)
commite17719264b5df0400442f02366cc16201ab3a25c
tree4b5893eb69605ff1a242b234347981696818f73b
parentbbbcfa57f80d239f94669586cadad4e14f073a5f
download/git: don't require too-recent git

git has supported -C only since 1.8.5, and some distros have not yet
caught up after more than 4 years...

Fall back to entering the directory.

Fixes:
    http://autobuild.buildroot.net/results/35f9f7a4adc6c2cad741079e4afdf1408c94703b

Reported-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/download/git