Skip to content

Commit

Permalink
1. fix mkdir issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wlixcc committed Mar 31, 2021
1 parent cf8d9e5 commit f19d10c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ printf "%s" "$4" >$TEMP_SSH_PRIVATE_KEY_FILE
chmod 600 $TEMP_SSH_PRIVATE_KEY_FILE

echo 'ssh start'

ssh -o StrictHostKeyChecking=no -p $3 -i $TEMP_SSH_PRIVATE_KEY_FILE $1@$2

# create directory if needed
ssh -o StrictHostKeyChecking=no -p $3 -i $TEMP_SSH_PRIVATE_KEY_FILE $1@$2 mkdir -p $5
mkdir -p $6

echo 'sftp start'
# create a temporary file containing sftp commands
Expand Down

0 comments on commit f19d10c

Please sign in to comment.