From 49421fe1e1abe88431427fb12f520452531a092f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 11 Sep 2020 16:30:38 +0300 Subject: Use exec instead of source in git-hooks/pre-commit.in --- bdep-util/git-hooks/pre-commit.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.1