defect 3026636

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jet777 2010-07-08 01:50:28 +00:00
parent 9de6fb3396
commit 98a8ec0cf8

View File

@ -286,8 +286,11 @@ while ($path) {
};
$path = $_;
my $sandbox = "$repo/sandbox";
if ( mkpath($path) or mkpath($sandbox) or system("cp $srcdir/$util $repo") or system("cp $asudir/$asu $repo")) {
output("Error making path or copying input file");
mkpath($path);
mkpath($sandbox);
if ( system("cp $srcdir/$util $repo") or system("cp $asudir/$asu $repo")) {
output("Error copying input file");
exit;
}