HADOOP-7097. JAVA_LIBRARY_PATH missing base directory. Contributed by Noah Watkins.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1058003 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-01-12 07:22:46 +00:00
parent 9ac35cecc9
commit db70f56cb7
2 changed files with 5 additions and 2 deletions

View File

@ -433,6 +433,9 @@ Release 0.22.0 - Unreleased
HADOOP-7100. Fix build to not refer to contrib/ec2 removed by HADOOP-6811
(todd)
HADOOP-7097. JAVA_LIBRARY_PATH missing base directory. (Noah Watkins via
todd)
Release 0.21.1 - Unreleased
IMPROVEMENTS

View File

@ -192,9 +192,9 @@ if [ -d "${HADOOP_COMMON_HOME}/build/native" -o -d "${HADOOP_COMMON_HOME}/lib/na
if [ -d "$HADOOP_COMMON_HOME/build/native" ]; then
if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then
JAVA_LIBRARY_PATH=${JAVA_LIBRARY_PATH}:${HADOOP_CORE_HOME}/build/native/${JAVA_PLATFORM}/lib
JAVA_LIBRARY_PATH=${JAVA_LIBRARY_PATH}:${HADOOP_COMMON_HOME}/build/native/${JAVA_PLATFORM}/lib
else
JAVA_LIBRARY_PATH=${HADOOP_CORE_HOME}/build/native/${JAVA_PLATFORM}/lib
JAVA_LIBRARY_PATH=${HADOOP_COMMON_HOME}/build/native/${JAVA_PLATFORM}/lib
fi
fi