We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e253c4 commit 8358696Copy full SHA for 8358696
modules/copy-installer.sh
@@ -2,9 +2,9 @@
2
3
if [ -e "/home/robot/installer/installer.sh" ]; then
4
echo $CREDENTIAL
5
- ssh $CREDENTIAL 'bash -s' < sudo mkdir /home/robot/installer
+ ssh $CREDENTIAL "sudo mkdir /home/robot/installer"
6
scp "/home/robot/installer/installer.sh" "$CREDENTIAL:/home/robot/installer"
7
- ssh $CREDENTIAL 'bash -s' < sudo chmod +x /home/robot/installer.sh
+ ssh $CREDENTIAL "sudo chmod +x /home/robot/installer.sh"
8
exit
9
else
10
echo "Sorry, the installer didn´t detect the installer"
0 commit comments