From 8cc73753da36fa61f31c96323eba4bcfa1b220fc Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 8 Jun 2012 08:45:22 +0000 Subject: [PATCH] copycds enhancement: mkdir for the symlink under /install if not exist git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/anaconda.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index a1730998a..311644d6a 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -1443,6 +1443,7 @@ sub copycd unless($path =~ /^($defaultpath)/) { + mkpath($defaultpath); if(-d $defaultpath) { rmtree($defaultpath);