Changeset 20925 for gsdl/trunk/bin/script/incremental-import.pl
- Timestamp:
- 2009-11-10T20:52:58+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/incremental-import.pl
r20606 r20925 107 107 108 108 my $import_cmd = "import.pl"; 109 if($ENV{' GSDLOS'} =~ m/windows/) {110 if($ENV{'PERLPATH'}) {111 # need to ensure that the path to perl is quoted (in case there's spaces in it)109 if($ENV{'PERLPATH'}) { 110 # need to ensure that the path to perl is quoted (in case there's spaces in it) 111 if($ENV{'GSDLOS'} =~ m/windows/) { 112 112 $import_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S $import_cmd"; 113 113 } else { 114 $import_cmd = " perl-S $import_cmd";114 $import_cmd = "\"$ENV{'PERLPATH'}/perl\" -S $import_cmd"; 115 115 } 116 } else { 117 $import_cmd = "perl -S $import_cmd"; 116 118 } 119 117 120 if (-e $archiveinf_doc) { 118 121 $import_cmd .= " -incremental";
Note:
See TracChangeset
for help on using the changeset viewer.