1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
if [[ ! -e "$HOME/.megatest" ]];then
mkdir -p "$HOME/.megatest"
fi
if [[ ! -e "$HOME/.megatest/areas.dat" ]];then
echo "Creating some placeholder files in ~/.megatest"
cat > "$HOME/.megatest/areas.dat" << EOF
[default]
mfstest /mfs/matt/data/megatest/tests/fullrun
mfsbig /mfs/matt/data/megatest/tests/fdktestqa/testqa
[local]
localtest /home/matt/data/megatest/tests/fullrun
EOF
fi
if [[ ! -e "$HOME/.megatest/default.dat" ]];then
cat > "$HOME/.megatest/default.dat" << EOF
[fullrun]
path /mfs/matt/data/megatest/tests/fullrun
order 1
# [bigrun]
# path /mfs/matt/data/megatest/tests/fdktestqa/testqa
|
|
|
|
|
|
|
|
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
if [[ ! -e "$HOME/.megatest" ]];then
mkdir -p "$HOME/.megatest"
fi
# if [[ ! -e "$HOME/.megatest/areas.dat" ]];then
# echo "Creating some placeholder files in ~/.megatest"
# cat > "$HOME/.megatest/areas.dat" << EOF
# [default]
# mfstest /mfs/matt/data/megatest/tests/fullrun
# mfsbig /mfs/matt/data/megatest/tests/fdktestqa/testqa
# [local]
# localtest /home/matt/data/megatest/tests/fullrun
# EOF
# fi
if [[ ! -e "$HOME/.megatest/default.dat" ]];then
cat > "$HOME/.megatest/default.dat" << EOF
[fullrun]
path /mfs/matt/data/megatest/tests/fullrun
order 1
# [bigrun]
# path /mfs/matt/data/megatest/tests/fdktestqa/testqa
|