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;