-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbootstrap.sh
More file actions
executable file
·39 lines (39 loc) · 923 Bytes
/
bootstrap.sh
File metadata and controls
executable file
·39 lines (39 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
# Checks out mini_* repos into
# peyotl/test/data/template_mini_par
d="$(dirname $0)"
cd "$d"
if test -d peyotl/test/data/template_mini_par
then
echo peyotl/test/data/template_mini_par exists
exit 1
fi
set -x
mkdir peyotl/test/data/template_mini_par || exit
cd peyotl/test/data/template_mini_par || exit
if test -d mini_phyl
then
echo "mini_phyl exists"
else
git clone https://github.com/mtholder/mini_phyl.git || exit
fi
if test -d mini_system
then
echo "mini_system exists"
else
git clone https://github.com/mtholder/mini_system.git || exit
fi
if test -d mini_collections
then
echo "mini_collections exists"
else
git clone https://github.com/jimallman/mini_collections.git || exit
fi
if test -d mini_amendments
then
echo "mini_amendments exists"
else
git clone https://github.com/jimallman/mini_amendments.git || exit
fi
cd .. || exit
cp -r template_mini_par mini_par