Skip to content

Commit

Permalink
chore(api): fix push-ot3 for some versions of linux that can't use th…
Browse files Browse the repository at this point in the history
…e multifile scp command (#13911)
  • Loading branch information
ryanthecoder authored Nov 8, 2023
1 parent 8a565c0 commit 8f9abba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ push-no-restart-ot3: sdist
echo $(sdist_file)
$(call push-python-sdist,$(host),$(ssh_key),$(ssh_opts),$(sdist_file),/opt/opentrons-robot-server,opentrons,src,,$(version_file))
ssh $(ssh_helper) root@$(host) "mount -o remount,rw / && mkdir -p /usr/local/bin"
scp $(ssh_helper) ./src/opentrons/hardware_control/scripts/{ot3repl,ot3gripper} root@$(host):/usr/local/bin/
scp $(ssh_helper) ./src/opentrons/hardware_control/scripts/ot3repl root@$(host):/usr/local/bin/
scp $(ssh_helper) ./src/opentrons/hardware_control/scripts/ot3gripper root@$(host):/usr/local/bin/
ssh $(ssh_helper) root@$(host) "mount -o remount,ro /"

.PHONY: push-ot3
Expand Down

0 comments on commit 8f9abba

Please sign in to comment.