This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 9aefe72 HDFS-15743. Fix -Pdist build failure of
hadoop-hdfs-native-client. (#2569)
9aefe72 is described below
commit 9aefe72ed68fdf3ae6015a6fed15d8bb20b0c6fb
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Tue Dec 22 07:19:44 2020 +0900
HDFS-15743. Fix -Pdist build failure of hadoop-hdfs-native-client. (#2569)
---
dev-support/bin/dist-copynativelibs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-support/bin/dist-copynativelibs
b/dev-support/bin/dist-copynativelibs
index 7f2b6ad..95de186 100755
--- a/dev-support/bin/dist-copynativelibs
+++ b/dev-support/bin/dist-copynativelibs
@@ -164,7 +164,7 @@ fi
# Windows doesn't have a LIB_DIR, everything goes into bin
-if [[ -d "${BIN_DIR}" ]] ; then
+if [[ -d "${BIN_DIR}" && $(ls -A "${BIN_DIR}") ]] ; then
mkdir -p "${TARGET_BIN_DIR}"
cd "${BIN_DIR}" || exit 1
${TAR} ./* | (cd "${TARGET_BIN_DIR}"/ || exit 1; ${UNTAR})
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]