- allow user to pass a repository to checkout from. The default will be github.com/bigbluebutton/bigbluebutton
if the user does not pass anything on bbb-conf --checkout
This commit is contained in:
parent
e5bfffc7ae
commit
bc19e5389f
@ -160,7 +160,7 @@ usage() {
|
||||
if [ "$(is_vm)" ]; then
|
||||
echo "Development:"
|
||||
echo " --setup-samba Setup samba share for development (VM only)"
|
||||
echo " --checkout Checkout BigBlueButton from github "
|
||||
echo " --checkout <repo> Checkout from github or passed in repository"
|
||||
echo " --setup-dev [client|web|apps] Setup development environment "
|
||||
echo " --reset-dev Reset environment back to using packages"
|
||||
fi
|
||||
@ -298,7 +298,11 @@ while [ $# -gt 0 ]; do
|
||||
|
||||
if [ "$1" = "--checkout" -o "$1" = "-checkout" ]; then
|
||||
echo "# Request to checkout BigBlueButton"
|
||||
CHECKOUT="1"
|
||||
if [ $# -lt 2 ]; then
|
||||
CHECKOUT="git://github.com/bigbluebutton/bigbluebutton.git"
|
||||
else
|
||||
CHECKOUT="${2}"
|
||||
fi
|
||||
shift; shift
|
||||
continue
|
||||
fi
|
||||
@ -459,13 +463,13 @@ if [ $CHECKOUT ]; then
|
||||
cd ~/dev/source
|
||||
|
||||
echo "# "
|
||||
echo "# Checking out READ-ONLY code from github."
|
||||
echo "# Checking out BigBlueButton."
|
||||
echo "# "
|
||||
echo "# "
|
||||
git clone git://github.com/bigbluebutton/bigbluebutton.git
|
||||
git clone $CHECKOUT
|
||||
echo "# "
|
||||
echo "# "
|
||||
echo "# Checked out READ-ONLY code from github. "
|
||||
echo "# Checked out BigBlueButton. "
|
||||
echo "# "
|
||||
echo " You can now run 'bbb-conf --setup-dev [client|web|apps]' to setup dev environment "
|
||||
echo "# "
|
||||
|
Loading…
Reference in New Issue
Block a user