From 2428c5a81943ebc03c2bbc1baae3ca2ebbc025b2 Mon Sep 17 00:00:00 2001 From: ligc Date: Mon, 24 Aug 2009 09:35:33 +0000 Subject: [PATCH] fix for bug 2843348: export PERL5LIB when running post scripts git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcataixpost | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index 57ad7830a..01236c588 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -294,6 +294,12 @@ sub getmypost { close $remote; return 1; } + # setup the perl library path for xcat-dep packages + # this is necessary for AIX 5.3V/61H and beyond + # but does not hurt old AIX versions + print POSTSCRIPT "PERL5LIB='/usr/opt/perl5/lib/5.8.2:/usr/opt/perl5/lib/5.8.2/aix-thread-multi:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi'\n"; + print POSTSCRIPT "export PERL5LIB\n"; + # request must be in XML format print $remote "\n";