Fix MANPATH assignment in openjdk

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15255 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2014-12-23 18:42:56 +00:00
parent f2c6e1d6b2
commit d14a74a31e

View File

@ -631,8 +631,8 @@ EOF</userinput></screen>
<screen role="root"><userinput>cat >> /etc/profile.d/extrapaths.sh &lt;&lt; "EOF" &amp;&amp;
<literal># Begin Java addition
if ! [ -n $MANPATH ]; then
MANPATH=:/opt/jdk/man
if ! [ -n "$MANPATH" ]; then
export MANPATH=:/opt/jdk/man
else
pathappend /opt/jdk/man MANPATH
fi