Skip to content

Commit

Permalink
laso's fix for hooks folder
Browse files Browse the repository at this point in the history
  • Loading branch information
danimtb committed Dec 18, 2018
1 parent 4c243f4 commit 46d5bf6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions conans/client/conf/config_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,11 @@ def _process_folder(folder, client_cache, output):
output.info("Installing profiles:")
profiles_path = client_cache.profiles_path
_handle_profiles(os.path.join(root, d), profiles_path, output)
break
elif d == "hooks" and ".git" not in root: # Avoid git hooks
output.info("Installing hooks:")
src_hooks_path = os.path.join(root, d)
dst_hooks_path = client_cache.hooks_path
_handle_hooks(src_hooks_path, dst_hooks_path, output)
break
dirs[:] = [d for d in dirs if d not in ("profiles", ".git", "hooks")]


Expand Down

0 comments on commit 46d5bf6

Please sign in to comment.