Use the git clone function which allows for mirrors
This commit is contained in:
parent
e174c59d78
commit
5470499e5d
|
@ -168,7 +168,7 @@ function image_setup {
|
|||
if [ -d $USERHOME/develop/python-cliapp ]; then
|
||||
sudo rm -rf $USERHOME/develop/python-cliapp
|
||||
fi
|
||||
git clone $CLIAPP_REPO $USERHOME/develop/python-cliapp
|
||||
git_clone $CLIAPP_REPO $USERHOME/develop/python-cliapp
|
||||
if [ ! "$?" = "0" ]; then
|
||||
echo $"Failed to clone python-cliapp"
|
||||
return
|
||||
|
@ -186,7 +186,7 @@ function image_setup {
|
|||
if [ -d $USERHOME/develop/mbr ]; then
|
||||
sudo rm -rf $USERHOME/develop/mbr
|
||||
fi
|
||||
git clone $MBR_REPO $USERHOME/develop/mbr
|
||||
git_clone $MBR_REPO $USERHOME/develop/mbr
|
||||
if [ ! "$?" = "0" ]; then
|
||||
echo $"Failed to clone mbr"
|
||||
return
|
||||
|
@ -221,7 +221,7 @@ function image_setup {
|
|||
if [ -d $USERHOME/develop/multipath-tools ]; then
|
||||
sudo rm -rf $USERHOME/develop/multipath-tools
|
||||
fi
|
||||
git clone $MULTIPATH_TOOLS_REPO $USERHOME/develop/multipath-tools
|
||||
git_clone $MULTIPATH_TOOLS_REPO $USERHOME/develop/multipath-tools
|
||||
if [ ! "$?" = "0" ]; then
|
||||
echo $"Failed to clone multipath-tools"
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue