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
This commit is contained in:
parent
e221280733
commit
2428c5a819
@ -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 "<xcatrequest>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user