Fix conditional bug

This commit is contained in:
Duncan Ferguson 2014-06-07 15:42:30 +01:00
parent 1edf8088f9
commit ed405b9c98

View file

@ -21,7 +21,7 @@ for my $source (glob("*")) {
print "Generating: $source",$/;
if($dest) {
if(-f $dest) {
chmod(0777, $dest) || die "Could not chmod $dest for removing: $!";
}