From a086fd90408c0dca13d22d66ab528a68b4f57f42 Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Tue, 26 Jan 2016 15:46:57 -0800 Subject: [PATCH] HADOOP-12743. Fix git environment check during test-patch (aw) (cherry picked from commit d323639686eab28f1510031e52e4390f82d78989) --- dev-support/bin/yetus-wrapper | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-support/bin/yetus-wrapper b/dev-support/bin/yetus-wrapper index 4b1e21e7c26..ddcc7a53ab3 100755 --- a/dev-support/bin/yetus-wrapper +++ b/dev-support/bin/yetus-wrapper @@ -165,6 +165,7 @@ if [[ $? != 0 ]]; then fi if [[ -x "${HADOOP_PATCHPROCESS}/yetus-${HADOOP_YETUS_VERSION}/bin/${WANTED}" ]]; then + popd >/dev/null exec "${HADOOP_PATCHPROCESS}/yetus-${HADOOP_YETUS_VERSION}/bin/${WANTED}" "${ARGV[@]}" fi