Skip to content

Commit 472e482

Browse files
committed
[bin] Properly filter directory matches.
1 parent 6857f42 commit 472e482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/xcommit.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
print "Sourcing diffs from $specname level $sourcelevel under root $rootdir:\n";
4747
chdir $rootdir;
4848
$_ = `ls -d $specname-*`;
49-
my @dirlist = split;
49+
my @dirlist = grep /$specname-\d+/, split;
5050
print "Matching specs: @dirlist\n";
5151

5252
# ask what levels to patch

0 commit comments

Comments
 (0)