1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 07:02:29 +02:00

sanitize-profile accidently ignored LibDir, causing many incorrect "corrections"

- schhist/sanitize-profile: $1 vs. $2 typo when processing LibDir
This commit is contained in:
Werner Almesberger 2010-10-01 08:12:18 -03:00
parent 75a4ea8869
commit d4405e4386

View File

@ -65,7 +65,7 @@ while (<FILE>) {
}
}
if ($section eq "eeschema") {
$libdir = $2 if /^LibDir=(.*)\s*$/;
$libdir = $1 if /^LibDir=(.*)\s*$/;
}
$s = &rewrite($_);
push(@f, $s) if defined $s;