another fix for 2814391

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-07-04 13:06:08 +00:00
parent 13c0a00b34
commit d1830acc01

View File

@ -4251,9 +4251,13 @@ sub rsync_to_image
my $synccmd = "";
if ($^O eq 'aix')
{
$synccmd = "/usr/bin/rsync -Lupotz ";
if (-e ("/usr/bin/rsync")) {
$synccmd = "/usr/bin/rsync -Lupotz ";
} else {
$synccmd = "/usr/local/bin/rsync -Lupotz ";
}
}
else
else # linux
{
$synccmd = "/usr/bin/rsync -Lupotz ";
}