Fix problem where 'copyIfNewer' was actually 'copyIfOlder'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f35debd190
commit
4fed39c1e5
@ -4841,7 +4841,7 @@ sub cpNetbootImages {
|
||||
sub copyIfNewer {
|
||||
my $source = shift;
|
||||
my $dest = shift;
|
||||
if (! -e $dest or -C $source > -C $dest) {
|
||||
if (! -e $dest or -C $source < -C $dest) {
|
||||
return copy($source,$dest);
|
||||
}
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user