We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ccb19d commit b58ef11Copy full SHA for b58ef11
contrib/ci.inria.fr/job-0-tarball.sh
@@ -23,8 +23,12 @@ echo "Got GIT branch name $branch"
23
# environment variables
24
test -f $HOME/.ciprofile && . $HOME/.ciprofile
25
26
+# convert "pr/XYZ/head" into "PR-XYZ"
27
+branch=$(echo $branch | sed -r -e 's@pr/([0-9]+)/head@PR-\1@')
28
+
29
# keep branch-name before the first - (e.g. v2.0-beta becomes v2.0)
-# and look for the corresponding autotools
30
+# and look for the corresponding autotools.
31
+# "PR-XYZ" will get "PR" which means they'll use master autotools (likely OK)
32
basebranch=$( echo $branch | sed -r -e 's@^.*/([^/]+)$@\1@' -e 's/-.*//' )
33
if test -d $HOME/local/hwloc-$basebranch ; then
34
export PATH=$HOME/local/hwloc-${basebranch}/bin:$PATH
0 commit comments