From b981a21a2d301a9f4707d6e3b7acaf82ecf1dbdf Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 5 Sep 2011 14:07:04 +0800 Subject: [PATCH] Generator.php --- Generator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Generator.php b/Generator.php index d639fa98..9fdde2a1 100644 --- a/Generator.php +++ b/Generator.php @@ -167,7 +167,7 @@ class Pman_Core_Generator extends DB_DataObject_Generator if (!file_exists($tg) || !filesize($tg) ) { - if ($cli && !filesize($tg) || in_array($f, $flist)) { + if ($cli && file_exists($tg) || in_array($f, $flist)) { echo "COPY $src $tg" . ($cli ? "\n" : "
"); copy($src, $tg); continue; -- 2.39.2