Date:2012-05-24 05:21:36 (11 years 10 months ago)
Author:Werner Almesberger
Commit:e943baf1c3da4ca30d0a6c2bde5cb0605576373e
Message:schhist/sanitize-{profile,schem}: "dirname" logic was reversed

The substitution acted as "basename" instead of "dirname".
Files: schhist/sanitize-profile (1 diff)
schhist/sanitize-schem (1 diff)

Change Details

schhist/sanitize-profile
6868($file, $out) = @ARGV;
6969&usage if $#ARGV > 1;
7070
71($dir = $file) =~ s|.*/||;
71($dir = $file) =~ s|[^/]*$||;
7272$dir = "." if $dir eq "";
7373
7474open(FILE, $file) || die "$file: $!";
schhist/sanitize-schem
2222($file, $out) = @ARGV;
2323&usage if $#ARGV > 1;
2424
25($dir = $file) =~ s|.*/||;
25($dir = $file) =~ s|[^/]*$||;
2626$dir = "." if $dir eq "";
2727
2828open(FILE, $file) || die "$file: $!";

Archive Download the corresponding diff file

Branches:
master



interactive