source: main/trunk/release-kits/kits/derk/resources/build.sh@ 21386

Last change on this file since 21386 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
2opwd=`pwd`
3source setup.bash
4
5if [ ! -e "collect/documented-examples" ]; then
6 cd collect
7 ln -s ../../documented-examples
8 cd $opwd
9fi
10
11cd collect
12
13for 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
30done
Note: See TracBrowser for help on using the repository browser.