Ignore:
Timestamp:
2009-04-20T15:46:09+12:00 (15 years ago)
Author:
oranfry
Message:

changes to the names and locations of things

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/derk/resources/build.sh

    r19033 r19131  
    33source setup.bash
    44
    5 if [ ! -e "collect/dec" ]; then
     5if [ ! -e "collect/documented-examples" ]; then
    66    cd collect
    7     ln -s ../../dec
     7    ln -s ../../documented-examples
    88    cd $opwd
    99fi
     
    1111cd collect
    1212
    13 for coll in dec/*; do
     13for coll in documented-examples/*; do
    1414    cd $opwd
    1515
    1616    if [ -d "collect/$coll/etc" ]; then
    17         echo
    18         echo "Building collection $coll "
    19         echo
     17        if [ ! -e "collect/$coll/index" ]; then
     18            echo
     19            echo "Building collection $coll "
     20            echo
    2021
    21         import.pl --removeold $coll && \
    22         buildcol.pl --removeold $coll && \
    23         rm -rf collect/$coll/index collect/$coll/archives && \
    24         mv collect/$coll/building collect/$coll/index || exit 1
     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
    2529    fi
    2630done
Note: See TracChangeset for help on using the changeset viewer.