File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 20
20
qx{ git stash -u && git reset --hard HEAD} ;
21
21
my $pull = qx{ git pull} ;
22
22
my @output = split m /\r ?\n / , $pull ;
23
- print $output [0];
23
+ # print $output[0];
24
24
if ($output [0] ne ' Already up-to-date.' ) {
25
25
my $git_fetch = ' git fetch --all && git reset --hard origin/' . $item -> {branch_name };
26
26
qx{ $git_fetch } ;
44
44
print " Couldn't create $server_dir : $@ " ;
45
45
}
46
46
my $filepath = $directories . $filename . $suffix ;
47
- print " copying to $filepath . $server_dir " ;
47
+ # print "copying to $filepath . $server_dir";
48
48
copy($filepath , $server_dir ) or die " Failed to copy $filepath : $! \n " ;
49
49
}
50
50
51
51
}
52
52
elsif ($item -> {delete_files }==1) {
53
53
my $filepath = $filename . $suffix ;
54
54
my $server_dir = $item -> {copy_to_path } . $directories ;
55
- print $server_dir . $filepath ;
55
+ # print $server_dir . $filepath;
56
56
unlink $server_dir . $filepath or warn $! ;
57
57
}
58
58
59
59
}
60
60
}
61
- else {
62
- print ' branch is up to date' ;
63
- }
61
+ # else {
62
+ # print 'branch is up to date';
63
+ # }
64
64
}
65
65
}
You can’t perform that action at this time.
0 commit comments