From 99d926432061ebc3b32b8c71593f15daaa25466b Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sun, 24 Jan 2021 23:47:11 +1300 Subject: [PATCH] Ignore zones.h and zones.tab --- scripts/tz-update.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/tz-update.php b/scripts/tz-update.php index 1c4c6bcc..87fd310e 100755 --- a/scripts/tz-update.php +++ b/scripts/tz-update.php @@ -197,6 +197,7 @@ else if ( file_exists($c->tzsource) ) { while( false !== ($fn = readdir($d)) ) { if ( substr($fn,0,1) == '.' ) continue; if ( substr($fn,0,14) == 'primary-source' ) continue; + if ( substr($fn,0,5) == 'zones' ) continue; $fn = $dirname.'/'.$fn; if ( is_dir($fn) ) { $result = array_merge($result,recursive_files($fn));