mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
fix git version
This commit is contained in:
committed by
Ciro Santilli,Opinions and content are my own, not my employer's,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱scriptalert(1)/script
parent
71735a3a15
commit
b22c628c04
2
build
2
build
@@ -553,7 +553,7 @@ Which components to build. Default: qemu-buildroot
|
|||||||
else:
|
else:
|
||||||
git_version_tuple = tuple(
|
git_version_tuple = tuple(
|
||||||
int(x) for x in self.sh.check_output(['git', '--version']) \
|
int(x) for x in self.sh.check_output(['git', '--version']) \
|
||||||
.decode().split(' ')[-1].split('.')
|
.decode().split(' ')[-1].split('.')[:3]
|
||||||
)
|
)
|
||||||
if git_version_tuple >= (2, 9, 0):
|
if git_version_tuple >= (2, 9, 0):
|
||||||
# https://stackoverflow.com/questions/26957237/how-to-make-git-clone-faster-with-multiple-threads/52327638#52327638
|
# https://stackoverflow.com/questions/26957237/how-to-make-git-clone-faster-with-multiple-threads/52327638#52327638
|
||||||
|
|||||||
Reference in New Issue
Block a user