mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-22 19:11:10 +02:00
b2/extract-symbols: don't strip leading / from directory
This commit is contained in:
parent
2ce3b7f82b
commit
9b1277886b
@ -22,7 +22,7 @@ sub usage
|
||||
&usage if $#ARGV != 0;
|
||||
|
||||
push @f, $ARGV[0];
|
||||
($dir = $ARGV[0]) =~ s|/[^/]*$||;
|
||||
($dir = $ARGV[0]) =~ s|[^/]*$||;
|
||||
$dir = "." if $dir eq "";
|
||||
|
||||
while (@f) {
|
||||
|
Loading…
Reference in New Issue
Block a user