diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-03 19:10:10 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-03 19:20:07 +0100 |
commit | e23958ba3b639a24f59c32a018efdbaddd4ca98b (patch) | |
tree | 376351d2c130bb5bea8f4ab2da1b5e6afc7b3e1c /scripts/setup-hooks | |
parent | fix preludes in bash scripts (diff) | |
download | cimple-e23958ba3b639a24f59c32a018efdbaddd4ca98b.tar.gz cimple-e23958ba3b639a24f59c32a018efdbaddd4ca98b.zip |
make .gitattributes more consistent
Diffstat (limited to '')
-rwxr-xr-x | scripts/setup-hooks.sh (renamed from scripts/setup-hooks) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/setup-hooks b/scripts/setup-hooks.sh index f4d1b1f..6913245 100755 --- a/scripts/setup-hooks +++ b/scripts/setup-hooks.sh @@ -11,6 +11,6 @@ cd -- "$script_dir" gitdir="$( git rev-parse --git-dir )" hooks_dir="$gitdir/hooks" -symlink_dest="$( realpath "--relative-to=$hooks_dir" -- "$script_dir/pre-commit" )" +symlink_dest="$( realpath "--relative-to=$hooks_dir" -- "$script_dir/pre-commit.sh" )" -ln -fs -- "$symlink_dest" "$hooks_dir/" +ln -fs -- "$symlink_dest" "$hooks_dir/pre-commit" |