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
This commit is contained in:
parent
ec55bfc9fa
commit
8cc73753da
@ -1443,6 +1443,7 @@ sub copycd
|
||||
|
||||
unless($path =~ /^($defaultpath)/)
|
||||
{
|
||||
mkpath($defaultpath);
|
||||
if(-d $defaultpath)
|
||||
{
|
||||
rmtree($defaultpath);
|
||||
|
Loading…
Reference in New Issue
Block a user