projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ca4481
)
Generator.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 5 Sep 2011 06:07:04 +0000
(14:07 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 5 Sep 2011 06:07:04 +0000
(14:07 +0800)
Generator.php
patch
|
blob
|
history
diff --git
a/Generator.php
b/Generator.php
index
d639fa9
..
9fdde2a
100644
(file)
--- 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" : "<BR>");
copy($src, $tg);
continue;