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