Last change
on this file since 36610 was 36610, checked in by kjdon, 19 months ago |
dec nightly now builds teh collections as gs3 collections. Test for existence of collectionConfig (as bibtex supp collection hasn't been converted, and the lack of collectionConfig breaks the nightly task), and then pass -site and -collectdir options to force gs3 processing.
|
-
Property svn:executable
set to
*
|
File size:
681 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 [ -e "collect/$coll/etc/collectionConfig.xml" ]; then
|
---|
17 | if [ ! -e "collect/$coll/index" ]; then
|
---|
18 | echo
|
---|
19 | echo "Building collection $coll "
|
---|
20 | echo
|
---|
21 |
|
---|
22 | import.pl -site localsite -collectdir `pwd`/collect -removeold $coll && \
|
---|
23 | buildcol.pl -site localsite -collectdir `pwd`/collect -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.