Software Freedom Law Center

Changeset 23

Show
Ignore:
Timestamp:
12/09/07 22:57:27 (1 year ago)
Author:
bkuhn
Message:
  • Check the output of the lockfile call
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dev-tools/update-loblaw-test.plx

    r21 r23  
    276276       # and those that we *would* do something but were ignored items 
    277277  } 
    278   read_from_process("/usr/bin/lockfile -r 8 $LOCK_FILE"); 
     278  my(@lockData) = read_from_process("/usr/bin/lockfile -r 8 $LOCK_FILE"); 
    279279 
    280280  DieLog("Failure to aquire lock in $repository for $revision. " . 
    281281         "loblaw-test Mercurial update aborted!") 
    282     unless ($? == 0)
     282    if $lockData[0] =~ /failed/
    283283 
    284284  DoUpdate($revision);  # Make sure we have the latest and the greatest 

SFLC Main Page

[frdm] Support SFLC