Changeset 19410 for gsdl/trunk/bin/script/full-import.pl
- Timestamp:
- 2009-05-12T18:31:55+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/full-import.pl
r19409 r19410 33 33 BEGIN { 34 34 die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'}; 35 # for windows, need PERLPATH in order to launch Perl36 if($ENV{'GSDLOS'} =~ m/windows/) {37 die "PERLPATH, which is required for Windows, is not set.\n" unless defined $ENV{'PERLPATH'};38 }39 35 } 40 36 … … 45 41 my $import_cmd = "import.pl -removeold $quoted_argv"; 46 42 if($ENV{'GSDLOS'} =~ m/windows/) { 47 $import_cmd = "$ENV{'PERLPATH'}\\Perl.exe -S $import_cmd"; 48 #$import_cmd = "perl -S $import_cmd"; 43 if($ENV{'PERLPATH'}) { 44 $import_cmd = "$ENV{'PERLPATH'}\\Perl.exe -S $import_cmd"; 45 } else { 46 $import_cmd = "perl -S $import_cmd"; 47 } 49 48 } 50 49
Note:
See TracChangeset
for help on using the changeset viewer.