Changeset 24125 for main/trunk/greenstone2/bin/script/mirror.pl
- Timestamp:
- 2011-06-08T16:24:39+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/mirror.pl
r24093 r24125 117 117 my $cmd = "cd $importdir; "; 118 118 #$^X is a special variable containing the full path to the current perl executable we are in 119 $cmd .= " $^X-S gsw3mir.pl -cfgfile $etcdir/w3mir.cfg";119 $cmd .= "\"$^X\" -S gsw3mir.pl -cfgfile $etcdir/w3mir.cfg"; 120 120 # print "\n$cmd\n"; 121 121 `$cmd`; … … 127 127 elsif ((-e "$etcdir/wget.cfg") && (-e "$etcdir/wget.url")) { 128 128 $ENV{WGETRC} = "$etcdir/wget.cfg"; 129 my $cmd = " $^X-S gsWget.pl --input-file=$etcdir/wget.url --directory-prefix=$importdir";129 my $cmd = "\"$^X\" -S gsWget.pl --input-file=$etcdir/wget.url --directory-prefix=$importdir"; 130 130 system($cmd); 131 131 }
Note:
See TracChangeset
for help on using the changeset viewer.