Skip to content

Commit a93e7c7

Browse files
author
Aaron O'Mullan
committed
Improve robustness of ftp_upload script
No longer dependent on executable bit being set
1 parent df620d2 commit a93e7c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/cb.deploy.ftp/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function setup(options, imports, register) {
5555

5656
return shells.createShellCommand(
5757
shellId,
58-
[scriptUpload, config.host, config.remoteBase || "/", localPath, config.username, config.password]
58+
['/bin/bash', scriptUpload, config.host, config.remoteBase || "/", localPath, config.username, config.password]
5959
).then(function(shell) {
6060
return {
6161
'shellId': shellId

0 commit comments

Comments
 (0)