mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-22 21:32:29 +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;
|
&usage if $#ARGV != 0;
|
||||||
|
|
||||||
push @f, $ARGV[0];
|
push @f, $ARGV[0];
|
||||||
($dir = $ARGV[0]) =~ s|/[^/]*$||;
|
($dir = $ARGV[0]) =~ s|[^/]*$||;
|
||||||
$dir = "." if $dir eq "";
|
$dir = "." if $dir eq "";
|
||||||
|
|
||||||
while (@f) {
|
while (@f) {
|
||||||
|
Loading…
Reference in New Issue
Block a user