Skip to content

Commit 36b2780

Browse files
Propagate --ssh option from testting.sh to INSTALL.sh
1 parent 669c0ef commit 36b2780

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/testing.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@ context="continuous-integration/${contextHostname}"
118118
#Interactions with github
119119
if [ "${PHYEXREPOprotocol}" == 'ssh' ]; then
120120
PHYEXREPOgiturl="[email protected]:${PHYEXREPOuser}/${PHYEXREPOrepo}.git"
121+
INSTALLopt='--ssh'
121122
else
122123
PHYEXREPOgiturl="https://github.com/${PHYEXREPOuser}/${PHYEXREPOrepo}.git"
124+
INSTALLopt=''
123125
fi
124126
TOKEN=$(python3 -c "import netrc, socket; print(netrc.netrc().authenticators('github.com')[2])")
125127

@@ -277,7 +279,7 @@ if [ ${force} -eq 1 -o $(get_statuses "${SHA}" | grep -w "${context}" | wc -l) -
277279
fi
278280
fi
279281
log 1 "Installing/updating PHYEX"
280-
${WORKDIR}/PHYEX/tools/INSTALL.sh --ALL
282+
${WORKDIR}/PHYEX/tools/INSTALL.sh --ALL $INSTALLopt
281283
fi
282284
. "${WORKDIR}/PHYEX/tools/env.sh"
283285

0 commit comments

Comments
 (0)