Changeset 2472 for trunk


Ignore:
Timestamp:
2001-05-25T14:34:44+12:00 (23 years ago)
Author:
paynter
Message:

execute perl scripts with perl -S.

File:
1 edited

Legend:

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

    r1970 r2472  
    119119    # run the mirror program from the import directory
    120120    my  $cmd = "cd $importdir; ";
    121     $cmd .= "gsw3mir.pl -cfgfile $etcdir/w3mir.cfg";
     121    $cmd .= "perl -S gsw3mir.pl -cfgfile $etcdir/w3mir.cfg";
    122122    # print "\n$cmd\n";
    123123    `$cmd`;
     
    129129    elsif ((-e "$etcdir/wget.cfg") && (-e "$etcdir/wget.url")) {
    130130    $ENV{WGETRC} = "$etcdir/wget.cfg";
    131     my $cmd = "gsWget.pl --input-file=$etcdir/wget.url --directory-prefix=$importdir";
     131    my $cmd = "perl -S gsWget.pl --input-file=$etcdir/wget.url --directory-prefix=$importdir";
    132132    system($cmd);
    133133    }
Note: See TracChangeset for help on using the changeset viewer.