The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
534 B

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. # Wrap scp with options to use port 1202, the standard Bubble SSH port
  6. #
  7. # Environment variables:
  8. #
  9. # BUBBLE_SSH_PORT : If set, this port will be used instead of 1202
  10. #
  11. SCRIPT="${0}"
  12. SCRIPT_DIR="$(cd "$(dirname "${SCRIPT}")" && pwd)"
  13. . "${SCRIPT_DIR}"/bubble_common
  14. if [[ -z "${BUBBLE_SSH_PORT}" ]] ; then
  15. BUBBLE_SSH_PORT="1202"
  16. fi
  17. scp -P ${BUBBLE_SSH_PORT} "${@}"