HADOOP-12375. Incomplete checking for findbugs executable (Jagadesh Kiran N via aw)
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/677bfe03 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/677bfe03 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/677bfe03 Branch: refs/heads/master Commit: 677bfe0330c95904be0c6bec1c0b7b3183cfd1e7 Parents: c702233 Author: Allen Wittenauer <[email protected]> Authored: Fri Sep 4 14:47:18 2015 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Fri Sep 4 14:47:18 2015 -0700 ---------------------------------------------------------------------- dev-support/test-patch.d/findbugs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/677bfe03/dev-support/test-patch.d/findbugs.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.d/findbugs.sh b/dev-support/test-patch.d/findbugs.sh index 16ef8d7..df479af 100755 --- a/dev-support/test-patch.d/findbugs.sh +++ b/dev-support/test-patch.d/findbugs.sh @@ -64,7 +64,7 @@ function findbugs_parse_args ## @return 1 findbugs is missing some component function findbugs_is_installed { - if [[ ! -e "${FINDBUGS_HOME}/bin/findbugs" ]]; then + if [[ ! -x "${FINDBUGS_HOME}/bin/findbugs" ]]; then printf "\n\n%s is not executable.\n\n" "${FINDBUGS_HOME}/bin/findbugs" add_vote_table -1 findbugs "Findbugs is not installed." return 1
