File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ commands:
20
20
- run : |
21
21
source $BASH_ENV
22
22
sudo apt-get update
23
- sudo apt-get install -y csh libhdf5-serial-dev libopenmpi-dev openmpi-bin gfortran libtool-bin
23
+ sudo apt-get install -y libhdf5-serial-dev libopenmpi-dev openmpi-bin gfortran libtool-bin
24
24
python3 -m venv $HOME/venv
25
25
source $HOME/venv/bin/activate
26
26
pip install --upgrade pip
Original file line number Diff line number Diff line change 1
- #! /bin/csh -f
1
+ #! /bin/bash
2
2
3
3
# Create empty src/*/DEPEND files. These files are currently required
4
4
# by make, but should not be stored in the subversion repository.
5
5
# This is because the DEPEND files will change later, and the contents
6
6
# will be machine-dependent.
7
7
8
- set EXECS = (enzo ring inits enzohop anyl P-GroupFinder)
8
+ EXECS= (enzo ring inits enzohop anyl P-GroupFinder)
9
9
10
- foreach exec ($EXECS )
10
+ for exec in ${EXECS[*]}
11
+ do
11
12
12
- set depend_file = src/$exec /DEPEND
13
+ depend_file= src/$exec /DEPEND
13
14
14
15
rm -f $depend_file
15
16
touch $depend_file
16
17
17
- end
18
+ done
18
19
19
20
# Create empty src/enzo/Make.config.override file. This file is
20
21
# required by make, but should not be stored in the subversion
@@ -27,9 +28,9 @@ touch src/enzo/Make.config.override
27
28
# Initialize the Make.config.machine file if it does not exist
28
29
# Leave alone if it does exist
29
30
30
- if (! -e src/enzo/Make.config.machine) then
31
+ if [ ! -e src/enzo/Make.config.machine ]
32
+ then
31
33
echo " CONFIG_MACHINE = unknown" > src/enzo/Make.config.machine
32
- endif
33
-
34
+ fi
34
35
35
36
echo " Configure complete."
You can’t perform that action at this time.
0 commit comments