~snowball-yiddish-dev/snowball-yiddish/trunk

« back to all changes in this revision

Viewing changes to scripts/bootstrap.sh

  • Committer: richard
  • Date: 2005-04-29 12:31:23 UTC
  • Revision ID: svn-v4:633ccae0-01f4-0310-8c99-d3591da6f01f:trunk:290
Add scripts which build the website.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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$$"
 
6
trap "(rm -rf $tmpdir;echo \"make_website.sh failed\")" EXIT
 
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
 
 
19
./scripts/make_website.sh
 
20
 
 
21
trap EXIT
 
22
rm -rf ${tmpdir}