Selaa lähdekoodia

Use the git clone function which allows for mirrors

Bob Mottram 8 vuotta sitten
vanhempi
commit
5470499e5d
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3
    3
      src/freedombone-image

+ 3
- 3
src/freedombone-image Näytä tiedosto

168
             if [ -d $USERHOME/develop/python-cliapp ]; then
168
             if [ -d $USERHOME/develop/python-cliapp ]; then
169
                 sudo rm -rf $USERHOME/develop/python-cliapp
169
                 sudo rm -rf $USERHOME/develop/python-cliapp
170
             fi
170
             fi
171
-            git clone $CLIAPP_REPO $USERHOME/develop/python-cliapp
171
+            git_clone $CLIAPP_REPO $USERHOME/develop/python-cliapp
172
             if [ ! "$?" = "0" ]; then
172
             if [ ! "$?" = "0" ]; then
173
                 echo $"Failed to clone python-cliapp"
173
                 echo $"Failed to clone python-cliapp"
174
                 return
174
                 return
186
             if [ -d $USERHOME/develop/mbr ]; then
186
             if [ -d $USERHOME/develop/mbr ]; then
187
                 sudo rm -rf $USERHOME/develop/mbr
187
                 sudo rm -rf $USERHOME/develop/mbr
188
             fi
188
             fi
189
-            git clone $MBR_REPO $USERHOME/develop/mbr
189
+            git_clone $MBR_REPO $USERHOME/develop/mbr
190
             if [ ! "$?" = "0" ]; then
190
             if [ ! "$?" = "0" ]; then
191
                 echo $"Failed to clone mbr"
191
                 echo $"Failed to clone mbr"
192
                 return
192
                 return
221
             if [ -d $USERHOME/develop/multipath-tools ]; then
221
             if [ -d $USERHOME/develop/multipath-tools ]; then
222
                 sudo rm -rf $USERHOME/develop/multipath-tools
222
                 sudo rm -rf $USERHOME/develop/multipath-tools
223
             fi
223
             fi
224
-            git clone $MULTIPATH_TOOLS_REPO $USERHOME/develop/multipath-tools
224
+            git_clone $MULTIPATH_TOOLS_REPO $USERHOME/develop/multipath-tools
225
             if [ ! "$?" = "0" ]; then
225
             if [ ! "$?" = "0" ]; then
226
                 echo $"Failed to clone multipath-tools"
226
                 echo $"Failed to clone multipath-tools"
227
                 return
227
                 return