mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
b2/extract-symbols: don't strip leading / from directory
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user