From d4405e4386b8f7975bd6bf8c374b124bba888d37 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 1 Oct 2010 08:12:18 -0300 Subject: [PATCH] sanitize-profile accidently ignored LibDir, causing many incorrect "corrections" - schhist/sanitize-profile: $1 vs. $2 typo when processing LibDir --- schhist/sanitize-profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schhist/sanitize-profile b/schhist/sanitize-profile index 3538584..c319918 100755 --- a/schhist/sanitize-profile +++ b/schhist/sanitize-profile @@ -65,7 +65,7 @@ while () { } } if ($section eq "eeschema") { - $libdir = $2 if /^LibDir=(.*)\s*$/; + $libdir = $1 if /^LibDir=(.*)\s*$/; } $s = &rewrite($_); push(@f, $s) if defined $s;