From a3c2c30717971833ffeace245069c0357797bf3c Mon Sep 17 00:00:00 2001 From: Tyler Porter Date: Wed, 28 Feb 2024 01:36:32 -0500 Subject: [PATCH] Fix bug in shebang ignore --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8f4036aa..27cf25df 100755 --- a/install.sh +++ b/install.sh @@ -110,12 +110,13 @@ if [ "$SKIP_VENV" = false ]; then fi chmod +x main.py + # Add template to .git/config (if it doesn't already exist), and trigger the filter by adding the file. + # After that, the shebang should be ignored. if ! grep -q "noshebang" ./.git/config; then - # Add template to .git/config, and trigger the filter by adding the file. - # After that, the shebang should be ignored. cat .git-config-template >> .git/config - git add main.py fi + + git add main.py fi fi PYTHON=$(which python3)