mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 17:52:43 +03:00
Fix checking of distcc
This commit is contained in:
parent
ecc6a12ed6
commit
b50ee13100
@ -381,10 +381,11 @@ fi
|
|||||||
|
|
||||||
DISTCC=distcc
|
DISTCC=distcc
|
||||||
PARALLEL=1
|
PARALLEL=1
|
||||||
${DISTCC} --version >/dev/null 2>&1
|
HAVE_DISTCC=$(${DISTCC} --version >/dev/null 2>&1 && echo "true" || echo "false")
|
||||||
if [ $? -eq 0 ];then
|
if [ ${HAVE_DISTCC} = "true" ];then
|
||||||
PARALLEL=$(${DISTCC} -j)
|
PARALLEL=$(${DISTCC} -j)
|
||||||
export PATH=/usr/lib/distcc:${PATH}
|
export PATH=/usr/lib/distcc:${PATH}
|
||||||
|
export DISTCC_DIR=${JENKINS_HOME}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user