mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 03:00:26 +00:00
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:
@@ -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 ';
|
||||
}
|
||||
|
Reference in New Issue
Block a user