Ignore:
Timestamp:
2004-04-05T14:03:53+12:00 (20 years ago)
Author:
kjdon
Message:

does a check for one of teh export to cd files first and then tells the user that the export to cd function is not installed if it cant find it

File:
1 edited

Legend:

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

    r7101 r7179  
    119119    }
    120120
     121    # first we do a quick check to see if the export coll function has been
     122    # installed
     123    my $gssetupexe = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "windows", "gssetup.exe");
     124    if (!-e $gssetupexe) {
     125    &gsprintf($out, "{exportcol.fail} {exportcol.export_coll_not_installed}\n");
     126    die "\n";
     127    }
     128
    121129    # check each collection
    122130    my @valid_coll_list = ();
     
    215223    my $maincfg = &util::filename_cat ($ENV{'GSDLHOME'}, "etc", "main.cfg");
    216224    my $serverexe = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "windows", "server.exe");
    217     my $gssetupexe = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "windows", "gssetup.exe");
     225    #my $gssetupexe = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "windows", "gssetup.exe"); - have checked this earlier
    218226    my $setupexe = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "windows", "Setup.exe");
    219227    my $net32dir = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "windows", "net32");
Note: See TracChangeset for help on using the changeset viewer.