Skip to content

Commit 306087e

Browse files
committed
HADOOP-10088. copy-nativedistlibs.sh needs to quote snappy lib dir. Contributed by Raja Aluri.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1540270 13f79535-47bb-0310-9956-ffa450edef68
1 parent 46ab6f1 commit 306087e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

hadoop-common-project/hadoop-common/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ Release 2.3.0 - UNRELEASED
417417
HADOOP-9016. HarFsInputStream.skip(long) must never return negative value.
418418
(Ivan A. Veselovsky via jeagles)
419419

420+
HADOOP-10088. copy-nativedistlibs.sh needs to quote snappy lib dir.
421+
(Raja Aluri via cnauroth)
422+
420423
Release 2.2.1 - UNRELEASED
421424

422425
INCOMPATIBLE CHANGES

hadoop-project-dist/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
cd $${LIB_DIR}
347347
$$TAR lib* | (cd $${TARGET_DIR}/; $$UNTAR)
348348
if [ "${bundle.snappy}" = "true" ] ; then
349-
cd ${snappy.lib}
349+
cd "${snappy.lib}"
350350
$$TAR *snappy* | (cd $${TARGET_DIR}/; $$UNTAR)
351351
fi
352352
fi
@@ -358,7 +358,7 @@
358358
$$TAR * | (cd $${TARGET_BIN_DIR}/; $$UNTAR)
359359
if [ "${bundle.snappy.in.bin}" = "true" ] ; then
360360
if [ "${bundle.snappy}" = "true" ] ; then
361-
cd ${snappy.lib}
361+
cd "${snappy.lib}"
362362
$$TAR *snappy* | (cd $${TARGET_BIN_DIR}/; $$UNTAR)
363363
fi
364364
fi

0 commit comments

Comments
 (0)