mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
docs: fix previous extract.pl commit
Make it also work in the srcdir=builddir case again.
This commit is contained in:
parent
1e1872137d
commit
7106cabce3
1 changed files with 9 additions and 2 deletions
|
@ -29,10 +29,17 @@ xml_decode ($)
|
|||
|
||||
# main
|
||||
my $output = shift @ARGV;
|
||||
my $outputname;
|
||||
|
||||
# strip path parts
|
||||
$output =~ m/.*\/(.*)$/;
|
||||
my $outputname = $1;
|
||||
if ($output =~ m/.*\/(.*)$/)
|
||||
{
|
||||
$outputname = $1;
|
||||
}
|
||||
else
|
||||
{
|
||||
$outputname = $output;
|
||||
}
|
||||
|
||||
$found = 0;
|
||||
%blocks = ();
|
||||
|
|
Loading…
Reference in a new issue