File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# The tarballs to make
4
4
if [ $# -eq 0 ] ; then
5
- dirs= " branches/ v1.8"
5
+ branches= " v1.8"
6
6
else
7
- dirs=$@
7
+ branches=$1
8
+ shift
8
9
fi
9
10
10
11
# Build root - scratch space
@@ -29,14 +30,12 @@ module load sowing
29
30
30
31
# move to the directory
31
32
# Loop making them
32
- for dir in $dirs ; do
33
- ver= ` basename $dir `
33
+ for branch in $branches ; do
34
+ cd $build_root / $branch
34
35
35
- cd $build_root / $ver
36
+ module load " autotools/ompi- $branch "
36
37
37
- module load " autotools/ompi-$ver "
38
-
39
- ./$script $@ > dist.out 2>&1
38
+ ./$script $@ > dist.out 2>&1
40
39
if test " $? " ! = " 0" ; then
41
40
cat << EOF
42
41
=============================================================================
48
47
exit 1
49
48
fi
50
49
51
- module unload " autotools"
50
+ module unload " autotools"
52
51
done
You can’t perform that action at this time.
0 commit comments