Skip to content

Commit bb2de17

Browse files
committed
fix install script to respect the chosen remote branch
1 parent a89ae8c commit bb2de17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install-and-launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ install_sublime() {
444444

445445
if [ "$clone_platform" = "true" ]; then
446446
print_info "Cloning Sublime Platform repo..."
447-
if ! git clone --depth=1 https://github.com/sublime-security/sublime-platform.git; then
447+
if ! git clone -b $remote_branch --depth=1 https://github.com/sublime-security/sublime-platform.git; then
448448
print_error "Failed to clone Sublime Platform repo\n"
449449
printf "Troubleshooting tips: https://docs.sublimesecurity.com/docs/quickstart-docker#troubleshooting\n\n"
450450
printf "You may need to run the following command before retrying installation:\n\n"

0 commit comments

Comments
 (0)