Skip to content

Commit 30003bf

Browse files
committed
Use a path relative to the config_path
1 parent 764b5f3 commit 30003bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/config.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[install.py]
2-
src_dir = os.path.dirname(__file__)
2+
src_dir = os.path.dirname(config_path)
33
dst_dir = os.path.join(src_dir, '..', '.git', 'hooks')
44
files = ['pre-commit', 'pre-push']

0 commit comments

Comments
 (0)