aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-09-11 16:30:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-09-11 20:42:12 +0300
commit49421fe1e1abe88431427fb12f520452531a092f (patch)
tree64280b4df0c346e1f7dd51ff8495ecfbe15cea09
parent5cb04863bb347675c25fe4e858aba199b6ecbd0d (diff)
Use exec instead of source in git-hooks/pre-commit.in
-rw-r--r--bdep-util/git-hooks/pre-commit.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdep-util/git-hooks/pre-commit.in b/bdep-util/git-hooks/pre-commit.in
index 3339187..d10caf0 100644
--- a/bdep-util/git-hooks/pre-commit.in
+++ b/bdep-util/git-hooks/pre-commit.in
@@ -20,4 +20,4 @@
#
trap 'exit 1' ERR
-source "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/../bdep-git-pre-commit"
+exec "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/../bdep-git-pre-commit"