Last change
on this file since 19600 was 19131, checked in by oranfry, 15 years ago |
changes to the names and locations of things
|
-
Property svn:executable
set to
*
|
File size:
578 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | opwd=`pwd`
|
---|
3 | source setup.bash
|
---|
4 |
|
---|
5 | if [ ! -e "collect/documented-examples" ]; then
|
---|
6 | cd collect
|
---|
7 | ln -s ../../documented-examples
|
---|
8 | cd $opwd
|
---|
9 | fi
|
---|
10 |
|
---|
11 | cd collect
|
---|
12 |
|
---|
13 | for coll in documented-examples/*; do
|
---|
14 | cd $opwd
|
---|
15 |
|
---|
16 | if [ -d "collect/$coll/etc" ]; then
|
---|
17 | if [ ! -e "collect/$coll/index" ]; then
|
---|
18 | echo
|
---|
19 | echo "Building collection $coll "
|
---|
20 | echo
|
---|
21 |
|
---|
22 | import.pl --removeold $coll && \
|
---|
23 | buildcol.pl --removeold $coll && \
|
---|
24 | rm -rf collect/$coll/index collect/$coll/archives && \
|
---|
25 | mv collect/$coll/building collect/$coll/index || exit 1
|
---|
26 | else
|
---|
27 | echo skipping $coll
|
---|
28 | fi
|
---|
29 | fi
|
---|
30 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.