Skip to content

Commit

Permalink
Avoid checking perms in CI generated directory
Browse files Browse the repository at this point in the history
Ignore-this: c459a2184cba559ccce28532f49c30d2

darcs-hash:20120628195828-a43a9-6650f43f93615025f9d70bbd693546509d1084d9
  • Loading branch information
gildor478 committed Jun 28, 2012
1 parent 72dcebf commit 72d7a78
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/test.ml
Expand Up @@ -60,16 +60,17 @@ let _ =
close_in chn;
!rst
in
let fn_build =
FilePath.concat topdir "_build"
in
let fn_build = FilePath.concat topdir "_build" in
let fn_build' = FilePath.concat topdir "build" in

let (found_missing, unfound) =
(* Check files that need to be executable *)
FileUtil.find
(FileUtil.And
(FileUtil.Custom
(fun fn ->
not (FilePath.is_subdir fn fn_build)),
not (FilePath.is_subdir fn fn_build) &&
not (FilePath.is_subdir fn fn_build')),
FileUtil.And
(FileUtil.Is_exec,
FileUtil.And
Expand Down

0 comments on commit 72d7a78

Please sign in to comment.