source: release-kits/derk/resources/build.sh@ 19028

Last change on this file since 19028 was 19028, checked in by oranfry, 15 years ago

progress on derk

  • Property svn:executable set to *
File size: 398 bytes
RevLine 
[19028]1#!/bin/bash
2opwd=`pwd`
3source setup.bash
4
5if [ ! -e "collect/dec" ]; then
6 cd collect
7 ln -s ../../dec
8 cd $opwd
9fi
10
11cd collect
12
13for coll in dec/*; do
14 cd $opwd
15
16 echo
17 echo "Building collection $coll "
18 echo
19 import.pl --removeold $coll && \
20 buildcol.pl --removeold $coll && \
21 rm -rf collect/$coll/index collect/$coll/archives && \
22 mv collect/$coll/building collect/$coll/index || exit 1
23
24done
Note: See TracBrowser for help on using the repository browser.