Changeset 1386


Ignore:
Timestamp:
Dec 22, 2009, 6:53:05 PM (13 years ago)
Author:
ezyang
Message:
More bugsquishing; I think it works now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/sbin/parallel-find.pl

    r1385 r1386  
    5757    my $dirname = shift;
    5858    $uid = stat($dirname)->uid;
    59     open my $h, "sudo -u#$uid git describe --tags 2>/dev/null |";
     59    open my $h, "sudo -u#$uid git --git-dir=$dirname/.git describe --tags 2>/dev/null |";
    6060    chomp($val = <$h>);
     61    if (! $val) {
     62        print "Failed to read value for $dirname\n"
     63    }
    6164    return $val;
    6265}
Note: See TracChangeset for help on using the changeset viewer.