yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject yetus git commit: YETUS-28. if CHANGED_FILES is corrupt, find_changed_modules never returns (Kengo Seki via aw)
Date Thu, 24 Sep 2015 20:37:10 GMT
Repository: yetus
Updated Branches:
  refs/heads/master a7a404c47 -> ac6c8bc48


YETUS-28. if CHANGED_FILES is corrupt, find_changed_modules never returns (Kengo Seki via
aw)


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/ac6c8bc4
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/ac6c8bc4
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/ac6c8bc4

Branch: refs/heads/master
Commit: ac6c8bc489d16cd1af3a5130235db6ba84058040
Parents: a7a404c
Author: Allen Wittenauer <aw@apache.org>
Authored: Thu Sep 24 13:37:05 2015 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Thu Sep 24 13:37:05 2015 -0700

----------------------------------------------------------------------
 dev-support/test-patch.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/ac6c8bc4/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index eb25aea..444031a 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -1038,7 +1038,7 @@ function find_buildfile_dir
       echo "${dir}"
       yetus_debug "Found: ${dir}"
       return 0
-    elif [[ ${dir} == "." ]]; then
+    elif [[ ${dir} == "." || ${dir} == "/" ]]; then
       yetus_debug "ERROR: ${buildfile} is not found."
       return 1
     else
@@ -1090,7 +1090,7 @@ function module_skipdir
         return 1
       fi
     done
-    if [[ ${dir} == "." ]]; then
+    if [[ ${dir} == "." || ${dir} == "/" ]]; then
       return 0
     else
       dir=$(dirname "${dir}")


Mime
View raw message