From 1b9223540a928399044cdb91109626cfd5c04bc8 Mon Sep 17 00:00:00 2001 From: jet777 Date: Thu, 24 Jun 2010 00:40:54 +0000 Subject: [PATCH] feature 3006951 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/mktoolscenter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/tools/mktoolscenter b/xCAT-server/share/xcat/tools/mktoolscenter index cb39179f8..1d5b2d621 100755 --- a/xCAT-server/share/xcat/tools/mktoolscenter +++ b/xCAT-server/share/xcat/tools/mktoolscenter @@ -286,7 +286,7 @@ while ($path) { }; $path = $_; my $sandbox = "$repo/sandbox"; -if ( mkdir($path) or mkdir($sandbox) or system("cp $srcdir/$util $repo") or system("cp $asudir/$asu $repo")) { +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"); exit; }