Changeset 19409 for gsdl/trunk/bin/script/incremental-import.pl
- Timestamp:
- 2009-05-12T17:29:56+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/incremental-import.pl
r18660 r19409 36 36 die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'}; 37 37 unshift (@INC, "$ENV{'GSDLHOME'}/perllib"); 38 39 # for windows, need PERLPATH in order to launch Perl 40 if($ENV{'GSDLOS'} =~ m/windows/) { 41 die "PERLPATH, which is required for Windows, is not set.\n" unless defined $ENV{'PERLPATH'}; 42 } 38 43 } 39 44 … … 107 112 108 113 my $import_cmd = "import.pl"; 114 if($ENV{'GSDLOS'} =~ m/windows/) { 115 $import_cmd = "$ENV{'PERLPATH'}\\Perl.exe -S $import_cmd"; 116 #$import_cmd = "perl -S $import_cmd"; 117 } 109 118 if (-e $archiveinf_doc) { 110 119 $import_cmd .= " -incremental";
Note:
See TracChangeset
for help on using the changeset viewer.