Fix the out directory, and make sure to create it, even if it's
specified in a relative sense. This commit was SVN r25922.
Этот коммит содержится в:
родитель
226c9af195
Коммит
8e6507588a
6
contrib/dist/make-html-man-pages.pl
поставляемый
6
contrib/dist/make-html-man-pages.pl
поставляемый
@ -28,6 +28,10 @@ my $outdir_base = ".";
|
||||
|
||||
sub absoluteize {
|
||||
my ($dir) = shift;
|
||||
|
||||
mkdir_p($dir)
|
||||
if (! -d $dir);
|
||||
|
||||
my $start = cwd();
|
||||
chdir($dir);
|
||||
$dir = cwd();
|
||||
@ -99,7 +103,7 @@ foreach my $file (@files) {
|
||||
my $section = $2;
|
||||
|
||||
my $outdir = "$outdir_base/man$section";
|
||||
my $outfile = "$outdir/man$section/$b.php";
|
||||
my $outfile = "$outdir/$b.php";
|
||||
$dirs{$outdir} = "";
|
||||
push(@{$outfiles->{$section}}, {
|
||||
name => $name,
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user