瀏覽代碼

HADOOP-12035. shellcheck plugin displays a wrong version potentially (Kengo Seki via aw)

Allen Wittenauer 10 年之前
父節點
當前提交
e6a171e7a2
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 1 1
      dev-support/test-patch.d/shellcheck.sh
  2. 3 0
      hadoop-common-project/hadoop-common/CHANGES.txt

+ 1 - 1
dev-support/test-patch.d/shellcheck.sh

@@ -72,7 +72,7 @@ function shellcheck_preapply
   start_clock
 
   # shellcheck disable=SC2016
-  SHELLCHECK_VERSION=$(shellcheck --version | ${GREP} version: | ${AWK} '{print $NF}')
+  SHELLCHECK_VERSION=$(${SHELLCHECK} --version | ${GREP} version: | ${AWK} '{print $NF}')
 
   echo "Running shellcheck against all identifiable shell scripts"
   pushd "${BASEDIR}" >/dev/null

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -297,6 +297,9 @@ Release 2.8.0 - UNRELEASED
     HADOOP-12004. test-patch breaks with reexec in certain situations (Sean
     Busbey via aw)
 
+    HADOOP-12035. shellcheck plugin displays a wrong version potentially
+    (Kengo Seki via aw)
+
 Release 2.7.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES