OSDN Git Service

bin/mkdist.perl: man ページが含まれない配布tarball生成の回避 (#43962)。
authormatsuand <30614168+matsuand@users.noreply.github.com>
Wed, 2 Mar 2022 03:31:21 +0000 (12:31 +0900)
committermatsuand <30614168+matsuand@users.noreply.github.com>
Wed, 2 Mar 2022 03:31:21 +0000 (12:31 +0900)
bin/mkdist.perl

index e654a41..0049be3 100755 (executable)
@@ -54,6 +54,9 @@ while(<RL>){
     unless(/.*manual\/([^\/]*)\/translation_list/){next;}
     my $pkg=$1;
 
+    # release または contrib ディレクトリを持たないパッケージは処理対象としない
+    if (! -d "$CVSROOT/manual/$pkg/release" && ! -d "$CVSROOT/manual/$pkg/contrib") {next;}
+
     system "mkdir -p $DISTROOT/manual/$pkg/";
     system "cp $tl $DISTROOT/manual/$pkg";