From 607fe8f233c3eaf913df8914362ac3b4fb8db8a4 Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 1 Jun 2009 13:00:18 +0000 Subject: [PATCH] Make postscripts directory. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/servicenode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/servicenode b/xCAT/postscripts/servicenode index 631237441..117f05da5 100755 --- a/xCAT/postscripts/servicenode +++ b/xCAT/postscripts/servicenode @@ -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`; }