summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/heimdal_build/asn1_deps.pl2
-rwxr-xr-xsource4/pidl/pidl7
2 files changed, 6 insertions, 3 deletions
diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl
index 11e6bad706..cc95fb2217 100755
--- a/source4/heimdal_build/asn1_deps.pl
+++ b/source4/heimdal_build/asn1_deps.pl
@@ -40,7 +40,7 @@ foreach(<IN>) {
}
close(IN);
print $prefix."_clean: \n";
-print "\t\@echo \"Deleting ASN1 ouput files generated from $file\"";
+print "\t\@echo \"Deleting ASN1 output files generated from $file\"";
print "\n\t\@rm -f $header";
foreach $c_file (@c_files) {
print "\n\t\@rm -f $c_file";
diff --git a/source4/pidl/pidl b/source4/pidl/pidl
index 9daf60eff4..14be05c042 100755
--- a/source4/pidl/pidl
+++ b/source4/pidl/pidl
@@ -347,6 +347,9 @@ $dcom
}
}
-foreach my $filename (@ARGV) {
- process_file($filename);
+if (scalar(@ARGV) == 0) {
+ print "pidl: no input files\n";
+ exit(0);
}
+
+process_file($_) foreach (@ARGV);