Changeset 1386 for trunk/locker/sbin/parallel-find.pl
- Timestamp:
- Dec 22, 2009, 6:53:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/locker/sbin/parallel-find.pl
r1385 r1386 57 57 my $dirname = shift; 58 58 $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 |"; 60 60 chomp($val = <$h>); 61 if (! $val) { 62 print "Failed to read value for $dirname\n" 63 } 61 64 return $val; 62 65 }
Note: See TracChangeset
for help on using the changeset viewer.