Changeset 1385


Ignore:
Timestamp:
Dec 22, 2009, 6:26:15 PM (13 years ago)
Author:
ezyang
Message:
Bugfixes for parallel-find.

File:
1 edited

Legend:

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

    r1384 r1385  
    44
    55use LockFile::Simple qw(trylock unlock);
     6use File::stat;
    67
    78use lib '/mit/scripts/sec-tools/perl';
     
    5657    my $dirname = shift;
    5758    $uid = stat($dirname)->uid;
    58     open my $h, "sudo -u #$uid git describe --tags 2>/dev/null |";
     59    open my $h, "sudo -u#$uid git describe --tags 2>/dev/null |";
    5960    chomp($val = <$h>);
    6061    return $val;
Note: See TracChangeset for help on using the changeset viewer.