Loading...
xcodescripts/patch_headers_variants.pl Libc-825.26 Libc-1158.30.7
--- Libc/Libc-825.26/xcodescripts/patch_headers_variants.pl
+++ Libc/Libc-1158.30.7/xcodescripts/patch_headers_variants.pl
@@ -53,6 +53,11 @@
 		if ($dest_mtime > $src_mtime) {
 			return;
 		}
+	}
+
+	my($fname, $dirs, $suffix) = File::Basename::fileparse($file, ".h");
+	if ($suffix ne ".h") {
+		return;
 	}
 
     my $p = IO::File->new($path, 'r');