diff --git a/tools/release_checks.pike b/tools/release_checks.pike index f81b6f7f0a299417f1f89901750784147adb4265..39704b307e533611c3b2180288983fa604923392 100644 --- a/tools/release_checks.pike +++ b/tools/release_checks.pike @@ -134,6 +134,10 @@ int test_unicode() { int test_realpike() { int status = 1; + multiset whitelist = (< + "lib/modules/Calendar.pmod/mkexpert.pike", + >); + // bin and tools shouldn't really be #pike-ified, since they // should run with the pike it is bundled with. foreach( ({ "lib", /* "bin", "tools" */ }), string dir) @@ -142,8 +146,8 @@ int test_realpike() { { string f = Stdio.read_file(path+file); if(!f) { write("Unable to read %O\n", path+file); continue; } - if(!has_value(f,"#pike")) { - write("%s%s is missing a #pike directive.\n", path,file); + if(!whitelist[path+file] && !has_value(f,"#pike")) { + write("%s%s is missing a #pike directive.\n", path,file); status = 0; } }