diff --git a/scripts/install-pre-commit-hook.sh b/scripts/install-pre-commit-hook.sh index d517cb3..f12057d 100755 --- a/scripts/install-pre-commit-hook.sh +++ b/scripts/install-pre-commit-hook.sh @@ -40,7 +40,7 @@ if [ -z "$RELPATH" ]; then fi echo "## Placing pre-commit file in $(pwd) from $RELPATH" -ln -s "$RELPATH" . +ln -sf "$RELPATH" . # Return back to the calling directory cd "$OLDPWD" &> /dev/null