瀏覽代碼

Use the git clone function which allows for mirrors

Bob Mottram 8 年之前
父節點
當前提交
5470499e5d
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      src/freedombone-image

+ 3
- 3
src/freedombone-image 查看文件

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