summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-05-12 18:33:50 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-05-12 18:33:50 +0000
commit815b6ade892b38b65e750136368d339b3c6a8a1a (patch)
treea2da083c0feeccc8d466e6e23a29c0614469da79
parent91e3fee0536e1534f010924fc27e0ac36992a5aa (diff)
downloadMPC-815b6ade892b38b65e750136368d339b3c6a8a1a.tar.gz
ChangeLogTag: Mon May 12 13:32:56 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/ProjectCreator.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm
index c8b0dc6b..94b89523 100644
--- a/modules/ProjectCreator.pm
+++ b/modules/ProjectCreator.pm
@@ -1753,7 +1753,9 @@ sub write_output_file {
print $fh $line;
}
close($fh);
- if (-s $tmp == -s $name && compare($tmp, $name) == 0) {
+
+ if (-r $name &&
+ -s $tmp == -s $name && compare($tmp, $name) == 0) {
$different = 0;
}
}