chiark / gitweb /
actually reject missing .sd.mk files when appropriate
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 17:20:12 +0000 (17:20 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 17:20:12 +0000 (17:20 +0000)
subdirmk/generate

index 3b40ad0..8a2c986 100755 (executable)
@@ -178,7 +178,7 @@ sub process_input_mk ($$$$$$$$) {
                my $subf = "$srcdir/$2";
                process_input_mk($dir_prefix, $dir_suffix, $dir_name,
                                 $var_prefix, $targets,
                my $subf = "$srcdir/$2";
                process_input_mk($dir_prefix, $dir_suffix, $dir_name,
                                 $var_prefix, $targets,
-                                $subf, $esclitr, $subf);
+                                $subf, $esclitr, $1);
                o "\n";
            } else {
                die "unknown directive $_ ";
                o "\n";
            } else {
                die "unknown directive $_ ";