]> code.delx.au - comingnext/blobdiff - build.pl
Work around for bug by fixing the current Date rather than amending calendar dates
[comingnext] / build.pl
index 72d495fe383aafca570d14b2dfd51139eca1b26e..cb54aa59761be2e632e86b6ada2f2e295c0eec48 100755 (executable)
--- a/build.pl
+++ b/build.pl
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-my $version = "1.33";
+my $version = "1.37";
 
 use warnings;
 use strict;
@@ -51,7 +51,7 @@ $zip->addFile("comingNextB.wgz");
 $zip->addFile("comingNextC.wgz");
 $zip->addFile("Readme.txt");
 $zip->addFile("License.txt");
-$zip->addFile("ComingNext_SkinFetcher_v1.4.sisx");
+$zip->addFile("ComingNext_SkinFetcher_v1.6.sisx");
 $zip->writeToFileNamed("comingNext_v$version.zip");
 
 #########################################
@@ -67,9 +67,11 @@ sub copyrecursive {
 sub copy_files {
        my $targetdir = $File::Find::dir;
        $targetdir =~ s/^$copy_source/$copy_target/o;
-       mkpath( $targetdir ) if not -e $targetdir;
+       mkpath( $targetdir, 1 ) if not -d $targetdir;
+       return if -d $File::Find::name;
        my $targetfile = $File::Find::name;
        $targetfile =~ s/^$copy_source/$copy_target/o;
+       print "copy $targetfile\n";
        copy($File::Find::name, $targetfile);
 }