Software Freedom Law Center

Changeset 12

Show
Ignore:
Timestamp:
12/09/07 22:11:25 (1 year ago)
Author:
bkuhn
Message:
  • /home/hg is where this runs from
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dev-tools/svn-scripts-run-check.plx

    r10 r12  
    7575$ENV{SHELL} = "/bin/bash"; 
    7676 
    77 chdir("/home/svn") 
    78   or WarnLog(ParseDate("today"), "unable to change to /home/svn: $!"); 
     77chdir("/home/hg") 
     78  or WarnLog(ParseDate("today"), "unable to change to /home/hg: $!"); 
    7979 
    8080my %programs = ('loblaw-test' => { pidFile => 
    8181                                  "/home/hg/pids/loblaw-test-update.pid", 
    82                      scriptFile => "/home/svn/bin/update-loblaw-test.plx" }); 
     82                     scriptFile => "/home/hg/bin/update-loblaw-test.plx" }); 
    8383 
    8484foreach my $key (keys %programs) { 
     
    9898  if ( (not defined $pid) or $pid eq "" or $? != 0) { 
    9999    unlink($programs{$key}{pidFile}); 
    100     system("/usr/bin/nohup $programs{$key}{scriptFile} >> /home/svn/logs/${key}.log 2>&1 &"); 
     100    system("/usr/bin/nohup $programs{$key}{scriptFile} >> /home/hg/logs/${key}.log 2>&1 &"); 
    101101    WarnLog(ParseDate("today"), "unable to launch $key bot: $!") 
    102102      unless ($? == 0); 

SFLC Main Page

[frdm] Support SFLC