HADOOP-6173. Change src/native/packageNativeHadoop.sh to package all native library files. Contributed by Hong Tang

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@806368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2009-08-20 21:28:09 +00:00
parent e5b7248682
commit 1f3337996e
2 changed files with 5 additions and 2 deletions

View File

@ -498,6 +498,9 @@ Trunk (unreleased changes)
HADOOP-6182. Fix ReleaseAudit warnings (Giridharan Kesavan and Lee Tucker via gkesavan)
HADOOP-6173. Change src/native/packageNativeHadoop.sh to package all
native library files. (Hong Tang via szetszwo)
OPTIMIZATIONS
HADOOP-5595. NameNode does not need to run a replicator to choose a

View File

@ -42,7 +42,7 @@ then
fi
echo "Copying libraries in $BASE_NATIVE_LIB_DIR/$platform to $DIST_LIB_DIR/$platform/"
cd $BASE_NATIVE_LIB_DIR/$platform/
$TAR *hadoop* | (cd $DIST_LIB_DIR/$platform/; $UNTAR)
$TAR . | (cd $DIST_LIB_DIR/$platform/; $UNTAR)
done
fi
@ -58,7 +58,7 @@ then
fi
echo "Copying libraries in $BUILD_NATIVE_DIR/$platform/lib to $DIST_LIB_DIR/$platform/"
cd $BUILD_NATIVE_DIR/$platform/lib
$TAR *hadoop* | (cd $DIST_LIB_DIR/$platform/; $UNTAR)
$TAR . | (cd $DIST_LIB_DIR/$platform/; $UNTAR)
done
fi