Ignore:
Timestamp:
2009-04-17T15:25:53+12:00 (12 years ago)
Author:
oranfry
Message:

only build if a real collection

File:
1 edited

Legend:

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

    r19028 r19033  
    1414    cd $opwd
    1515
    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
     16    if [ -d "collect/$coll/etc" ]; then
     17        echo
     18        echo "Building collection $coll "
     19        echo
    2320
     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
     25    fi
    2426done
Note: See TracChangeset for help on using the changeset viewer.