290
by richard
Add scripts which build the website. |
1 |
#!/bin/sh -e
|
2 |
# Get the snowball source and documentation from SVN and call the
|
|
3 |
# script which makes the website.
|
|
4 |
||
5 |
tmpdir="/tmp/snowball_bootstrap$$" |
|
296
by richard
Add back the uncorrupted dodecahedron, and include the latest version of |
6 |
trap "(rm -rf $tmpdir;echo \"bootstrap.sh failed\")" EXIT |
290
by richard
Add scripts which build the website. |
7 |
|
8 |
svnbase="svn://snowball.tartarus.org/snowball/trunk/" |
|
9 |
||
10 |
rm -rf ${tmpdir} |
|
11 |
mkdir -p ${tmpdir} |
|
12 |
chmod go= ${tmpdir} |
|
13 |
chmod g+s ${tmpdir} |
|
14 |
||
15 |
cd ${tmpdir} |
|
16 |
svn export -q ${svnbase} |
|
17 |
cd trunk
|
|
18 |
||
296
by richard
Add back the uncorrupted dodecahedron, and include the latest version of |
19 |
/s1/snowball-svn/snowball/hooks/make_website.sh |
290
by richard
Add scripts which build the website. |
20 |
|
21 |
trap EXIT
|
|
22 |
rm -rf ${tmpdir} |