Skip to content

Commit

Permalink
Use ssh to install editable pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
MTCam committed Jul 19, 2023
1 parent a53f52a commit c6833a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-pip-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c6833a7

Please sign in to comment.