Skip to content

Commit

Permalink
Enable execution of bash scripts via symlinks
Browse files Browse the repository at this point in the history
Signed-off-by: Andrej Orsula <[email protected]>
  • Loading branch information
AndrejOrsula committed Jul 4, 2022
1 parent a9869f2 commit 20addbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .git_hooks/setup.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# This script setups git hooks for this repository.

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
SCRIPT_DIR="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" &>/dev/null && pwd)"
REPO_DIR="$(dirname "${SCRIPT_DIR}")"

pip install --user pre-commit &&
Expand Down

0 comments on commit 20addbf

Please sign in to comment.