equal
deleted
inserted
replaced
12 for my $dir (split(":", $ENV{"ISABELLE_TOOLS"})) { |
12 for my $dir (split(":", $ENV{"ISABELLE_TOOLS"})) { |
13 if (-d $dir) { |
13 if (-d $dir) { |
14 if (opendir DIR, $dir) { |
14 if (opendir DIR, $dir) { |
15 for my $name (readdir DIR) { |
15 for my $name (readdir DIR) { |
16 my $file = "$dir/$name"; |
16 my $file = "$dir/$name"; |
17 if (-f $file and -x $file and !($file =~ /~$/)) { |
17 if (-f $file and -x $file and !($file =~ /~$/ or $file =~ /\.orig$/)) { |
18 if (open FILE, $file) { |
18 if (open FILE, $file) { |
19 my $description; |
19 my $description; |
20 while (<FILE>) { |
20 while (<FILE>) { |
21 if (!defined($description) and m/DESCRIPTION: *(.*)$/) { |
21 if (!defined($description) and m/DESCRIPTION: *(.*)$/) { |
22 $description = $1; |
22 $description = $1; |