Skip to content

Commit c81a1fd

Browse files
committed
PLASMA-379 - fixed issue with missing .git directory
1 parent 4677367 commit c81a1fd

3 files changed

Lines changed: 6136 additions & 2 deletions

File tree

deploy/hooks.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/usr/bin/env bash
22

3-
cp ./hooks/* ./.git/hooks/
3+
if [ -d './hooks' ] && [ -d './.git/hooks' ]; then
4+
cp ./hooks/* ./.git/hooks/
5+
fi

0 commit comments

Comments
 (0)