Skip to content

Commit 86f4687

Browse files
authored
Merge pull request drwahl#95 from tuxinaut/master
Replaced tabs against spaces + removed trailing whitespace
2 parents eb97492 + a787e62 commit 86f4687

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy-git-hook

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ usage() {
1111
-r deploy only the pre-receive hook
1212
-u deploy only the post-update hook
1313
-g enable to install in Git Lab repo custom_hooks
14-
-l enable to install in Gitolite 3.6+ repo-specific hooks
14+
-l enable to install in Gitolite 3.6+ repo-specific hooks
1515
-b enable to install in Stash/BitBucket Server [pre/post]-receive.d
1616
1717
returns status code of 0 for success, otherwise, failure
@@ -167,7 +167,7 @@ else
167167
fi
168168

169169
if [ "${INST_RECEIVE}" = "1" ]; then
170-
if [ "${BITBUCKET_REPO}" = "1" ]; then
170+
if [ "${BITBUCKET_REPO}" = "1" ]; then
171171
# Use pre-receive.d directory and 'full' name for BitBucket
172172
ln -sf "${HOOKS_DIR}/pre-receive" "${GIT_REPO}/${REAL_HOOKS_DIR}/pre-receive.d/puppet-git-hooks-pre-receive" \
173173
&& echo "pre-receive hook deployed successfully" \

0 commit comments

Comments
 (0)