Advertisement
Guest User

Untitled

a guest
Sep 14th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo "Setting up RetailBox local repository..."
  4.  
  5. if [ -z "$1" ]; then
  6. echo "FATAL: Please add your username to the end of this script invocation."
  7. exit 1
  8. else
  9. username=$1
  10. url="https://${username}@bitbucket.org/softwarenetworkapps/retailbox.git"
  11. path=~/Desktop/RetailBox
  12.  
  13. echo "Cloning from ${url} into ${path}..."
  14. git clone $url $path
  15.  
  16. echo "Running setup script..."
  17. $path/setup.sh
  18. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement