From c6833a72130aff9bf212bcb8eb155f7c12d53808 Mon Sep 17 00:00:00 2001 From: Mike Campbell Date: Wed, 19 Jul 2023 09:21:30 -0500 Subject: [PATCH] Use ssh to install editable pkgs --- install-pip-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-pip-dependencies.sh b/install-pip-dependencies.sh index da43229..da2f2a3 100755 --- a/install-pip-dependencies.sh +++ b/install-pip-dependencies.sh @@ -44,7 +44,7 @@ switch_requirements_to_ssh() { # Read the input file while IFS= read -r line; do # Check if the line starts with "git+https://github" - if [[ $line == git+https://github* ]]; then + if [[ $line == *editable\ git+https://github* ]]; then # Replace "git+https://github" with "git+ssh://git@github" modified_line=${line//git+https:\/\/github/git+ssh:\/\/git@github} echo "$modified_line"