fix rsync path problem on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ea639a4479
commit
2aa564bed9
@ -77,9 +77,13 @@ sub remote_copy_command
|
||||
my $sync_opt;
|
||||
if ($^O eq 'aix')
|
||||
{
|
||||
$sync_opt = '--rsync-path /usr/bin/rsync ';
|
||||
if (-e ("/usr/bin/rsync")) {
|
||||
$sync_opt = '--rsync-path /usr/bin/rsync ';
|
||||
} else {
|
||||
$sync_opt = '--rsync-path /usr/local/bin/rsync ';
|
||||
}
|
||||
}
|
||||
else
|
||||
else #linux
|
||||
{
|
||||
$sync_opt = '--rsync-path /usr/bin/rsync ';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user