[Bio] / Sprout / NMPDRSetup.pl Repository:
ViewVC logotype

Diff of /Sprout/NMPDRSetup.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16, Tue Sep 23 21:48:46 2008 UTC revision 1.17, Wed Sep 24 01:58:02 2008 UTC
# Line 535  Line 535 
535      # Make sure we have a place to put them.      # Make sure we have a place to put them.
536      Insure("$target_dir/FIG/WikiData");      Insure("$target_dir/FIG/WikiData");
537      # Compute the sync command.      # Compute the sync command.
538      my $command = "rsync --archive --recursive --perms --group --exclude=Trash/ $FIG_Config::wiki_data/ $target_dir/FIG/WikiData/";      my $command = "rsync --archive --recursive --perms --group --exclude=Trash/ --exclude=tmp/ $FIG_Config::wiki_data/ $target_dir/FIG/WikiData/";
539      # Execute it.      # Execute it.
540      if ($options->{test}) {      if ($options->{test}) {
541          Trace("Command to execute:\n$command") if T(2);          Trace("Command to execute:\n$command") if T(2);
# Line 543  Line 543 
543          Trace("Copying wiki pages.") if T(2);          Trace("Copying wiki pages.") if T(2);
544          my @syncData = `$command`;          my @syncData = `$command`;
545          Trace("Copy results\n" . join("\n", @syncData)) if T(3);          Trace("Copy results\n" . join("\n", @syncData)) if T(3);
546            # Create the temp-file directory. This was deliberately excluded from the
547            # copy process to avoid goofy permission problems.
548            mkdir "$target_dir/FIG/WikiData/working/tmp";
549      }      }
550      Trace("Stage 5 complete.") if T(2);      Trace("Stage 5 complete.") if T(2);
551  }  }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3