Commit e34d8b1f authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Correct the Git version which introduced parallel submodule updates

parent c323fcbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ git_check()
		let 'GIT_VERSION = (GIT_VERSION << 8) + (v & 0xff)'
	done

	if [ $GIT_VERSION -gt $((0x020800)) ]; then
	if [ $GIT_VERSION -ge $((0x020900)) ]; then
		local numcpu=`lscpu -p|grep '^[^#]'|wc -l`
		GIT_JOBS="--jobs=$(((numcpu>1)?(numcpu-1):(numcpu)))"
	else