daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top