Changeset 20925
- Timestamp:
- 2009-11-10T20:52:58+13:00 (14 years ago)
- Location:
- gsdl/trunk/bin/script
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/full-buildcol.pl
r19620 r20925 40 40 41 41 my $buildcol_cmd = "buildcol.pl -removeold $quoted_argv"; 42 if($ENV{' GSDLOS'} =~ m/windows/) {43 if($ENV{'PERLPATH'}) {44 # need to ensure that the path to perl is quoted (in case there's spaces in it) 42 if($ENV{'PERLPATH'}) { 43 # need to ensure that the path to perl is quoted (in case there's spaces in it) 44 if($ENV{'GSDLOS'} =~ m/windows/) { 45 45 $buildcol_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S $buildcol_cmd"; 46 46 } else { 47 $buildcol_cmd = " perl-S $buildcol_cmd";47 $buildcol_cmd = "\"$ENV{'PERLPATH'}/perl\" -S $buildcol_cmd"; 48 48 } 49 } else { 50 $buildcol_cmd = "perl -S $buildcol_cmd"; 49 51 } 50 52 -
gsdl/trunk/bin/script/full-import.pl
r19620 r20925 40 40 41 41 my $import_cmd = "import.pl -removeold $quoted_argv"; 42 if($ENV{' GSDLOS'} =~ m/windows/) {43 if($ENV{'PERLPATH'}) {44 # need to ensure that the path to perl is quoted (in case there's spaces in it) 42 if($ENV{'PERLPATH'}) { 43 # need to ensure that the path to perl is quoted (in case there's spaces in it) 44 if($ENV{'GSDLOS'} =~ m/windows/) { 45 45 $import_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S $import_cmd"; 46 46 } else { 47 $import_cmd = " perl-S $import_cmd";47 $import_cmd = "\"$ENV{'PERLPATH'}/perl\" -S $import_cmd"; 48 48 } 49 } else { 50 $import_cmd = "perl -S $import_cmd"; 49 51 } 50 52 -
gsdl/trunk/bin/script/full-rebuild.pl
r19620 r20925 104 104 105 105 my $launch_cmd = ""; 106 if($ENV{' GSDLOS'} =~ m/windows/) {107 if($ENV{'PERLPATH'}) {108 # need to ensure that the path to perl is quoted (in case there's spaces in it)106 if($ENV{'PERLPATH'}) { 107 # need to ensure that the path to perl is quoted (in case there's spaces in it) 108 if($ENV{'GSDLOS'} =~ m/windows/) { 109 109 $launch_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S "; 110 110 } else { 111 $launch_cmd = " perl-S ";111 $launch_cmd = "\"$ENV{'PERLPATH'}/perl\" -S "; 112 112 } 113 } else { 114 $launch_cmd = "perl -S "; 113 115 } 114 116 -
gsdl/trunk/bin/script/incremental-buildcol.pl
r20606 r20925 108 108 109 109 my $buildcol_cmd = "buildcol.pl"; 110 if($ENV{' GSDLOS'} =~ m/windows/) {111 if($ENV{'PERLPATH'}) {112 # need to ensure that the path to perl is quoted (in case there's spaces in it)110 if($ENV{'PERLPATH'}) { 111 # need to ensure that the path to perl is quoted (in case there's spaces in it) 112 if($ENV{'GSDLOS'} =~ m/windows/) { 113 113 $buildcol_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S $buildcol_cmd"; 114 114 } else { 115 $buildcol_cmd = " perl-S $buildcol_cmd";115 $buildcol_cmd = "\"$ENV{'PERLPATH'}/perl\" -S $buildcol_cmd"; 116 116 } 117 } else { 118 $buildcol_cmd = "perl -S $buildcol_cmd"; 117 119 } 118 120 -
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"; -
gsdl/trunk/bin/script/incremental-rebuild.pl
r20606 r20925 85 85 86 86 my $launch_cmd = ""; 87 if($ENV{' GSDLOS'} =~ m/windows/) {88 if($ENV{'PERLPATH'}) {89 # need to ensure that the path to perl is quoted (in case there's spaces in it)87 if($ENV{'PERLPATH'}) { 88 # need to ensure that the path to perl is quoted (in case there's spaces in it) 89 if($ENV{'GSDLOS'} =~ m/windows/) { 90 90 $launch_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S "; 91 91 } else { 92 $launch_cmd = " perl-S ";92 $launch_cmd = "\"$ENV{'PERLPATH'}/perl\" -S "; 93 93 } 94 } else { 95 $launch_cmd = "perl -S "; 94 96 } 95 97
Note:
See TracChangeset
for help on using the changeset viewer.