projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a91ad
)
Generator.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 6 Sep 2010 06:01:13 +0000
(14:01 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 6 Sep 2010 06:01:13 +0000
(14:01 +0800)
Generator.php
patch
|
blob
|
history
diff --git
a/Generator.php
b/Generator.php
index
2c543be
..
d3285aa
100644
(file)
--- a/
Generator.php
+++ b/
Generator.php
@@
-164,8
+164,8
@@
class Pman_Core_Generator extends DB_DataObject_Generator
if (!file_exists($tg) || !filesize($tg) ) {
- if ($cli && in_array($f, $flist)) {
- echo "COPY $src $tg" . ($cli ? "\n" : "<BR>");
+ if ($cli &&
!filesize($tg) ||
in_array($f, $flist)) {
+
echo "COPY $src $tg" . ($cli ? "\n" : "<BR>");
copy($src, $tg);
continue;
}