Changeset 5849


Ignore:
Timestamp:
2003-11-14T15:22:36+13:00 (20 years ago)
Author:
kjdon
Message:

now this replaces home.dm with exported_home.dm, a much simpler version suitable for cd. not so nice cos it ignores any changes the user has made to their home page :-(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/exportcol.pl

    r5846 r5849  
    186186    &util::cp ($phindjar, $binjavadir);
    187187
     188    # now change the home.dm macro file to a simple version
     189    my $newmacrodir = &util::filename_cat ($gsdldir, "macros");
     190    my $exporthome = &util::filename_cat ($newmacrodir, "exported_home.dm");
     191    my $oldhome = &util::filename_cat ($newmacrodir, "home.dm");
     192    if (-e $exporthome) {
     193    &util::rm($oldhome);
     194    &util::mv($exporthome, $oldhome);
     195    }
     196
    188197    # copy the collection itself
    189198    my $thiscoldir = &util::filename_cat ($collectdir, $collection);
Note: See TracChangeset for help on using the changeset viewer.