Make postscripts directory.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-06-01 13:00:18 +00:00
parent b2bfeaea11
commit 607fe8f233

View File

@ -138,7 +138,7 @@ sub setupAIXsn
}
# copy the postscripts to /install/postscripts
if (&runcmd("cp -p -R /xcatpost/* /install/postscripts > /dev/null 2>&1") != 0 ) {
if (&runcmd("mkdir -p /install/postscripts; cp -p -R /xcatpost/* /install/postscripts > /dev/null 2>&1") != 0 ) {
$msg = "$::sdate servicenode: Could not copy postscripts to /install/postscripts.\n";
`logger -t xcat $msg`;
}