瀏覽代碼

Clone to known directories

Bob Mottram 9 年之前
父節點
當前提交
701a8a949f
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7
    7
      src/freedombone

+ 7
- 7
src/freedombone 查看文件

@@ -2735,7 +2735,7 @@ function install_atheros_wifi {
2735 2735
     fi
2736 2736
     cd $INSTALL_DIR
2737 2737
     if [ ! -d $INSTALL_DIR/open-ath9k-htc-firmware ]; then
2738
-        git clone $ATHEROS_WIFI_REPO
2738
+        git clone $ATHEROS_WIFI_REPO $INSTALL_DIR/open-ath9k-htc-firmware
2739 2739
         if [ ! "$?" = "0" ]; then
2740 2740
             rm -rf $INSTALL_DIR/open-ath9k-htc-firmware
2741 2741
             exit 74283
@@ -4457,7 +4457,7 @@ function configure_email {
4457 4457
         mkdir -p $INSTALL_DIR
4458 4458
     fi
4459 4459
     cd $INSTALL_DIR
4460
-    git clone $EXIM_ONION_REPO
4460
+    git clone $EXIM_ONION_REPO $INSTALL_DIR/exim4-smtorp
4461 4461
     cd $INSTALL_DIR/exim4-smtorp/tor-smtp
4462 4462
     make
4463 4463
     if [ ! -f $INSTALL_DIR/exim4-smtorp/tor-smtp/tor-smtp ]; then
@@ -5234,7 +5234,7 @@ function encrypt_incoming_email {
5234 5234
     if [ ! -f /usr/bin/gpgit.pl ]; then
5235 5235
         apt-get -y install git libmail-gnupg-perl
5236 5236
         cd $INSTALL_DIR
5237
-        git clone $GPGIT_REPO
5237
+        git clone $GPGIT_REPO $INSTALL_DIR/gpgit
5238 5238
         cd $INSTALL_DIR/gpgit
5239 5239
         git checkout $GPGIT_COMMIT -b $GPGIT_COMMIT
5240 5240
         if ! grep -q "gpgit commit" $COMPLETION_FILE; then
@@ -6600,7 +6600,7 @@ function install_gogs {
6600 6600
         mkdir -p $GOPATH/src/github.com/gogits
6601 6601
     fi
6602 6602
     cd $GOPATH/src/github.com/gogits
6603
-    git clone $GIT_DOMAIN_REPO
6603
+    git clone $GIT_DOMAIN_REPO $GOPATH/src/github.com/gogits/gogs
6604 6604
     cd gogs
6605 6605
     git checkout $GOGS_COMMIT -b $GOGS_COMMIT
6606 6606
     if ! grep -q "Gogs commit" $COMPLETION_FILE; then
@@ -6856,7 +6856,7 @@ function tox_avahi {
6856 6856
 
6857 6857
     # install a command to obtain the Tox ID
6858 6858
     cd $INSTALL_DIR
6859
-    git clone $TOXID_REPO
6859
+    git clone $TOXID_REPO $INSTALL_DIR/toxid
6860 6860
     if [ ! -d $INSTALL_DIR/toxid ]; then
6861 6861
         exit 63921
6862 6862
     fi
@@ -6917,7 +6917,7 @@ function install_tox_node {
6917 6917
     apt-get -y install libconfig9 libconfig-dev
6918 6918
 
6919 6919
     cd $INSTALL_DIR
6920
-    git clone $TOX_REPO
6920
+    git clone $TOX_REPO $INSTALL_DIR/toxcore
6921 6921
     cd $INSTALL_DIR/toxcore
6922 6922
 
6923 6923
     git checkout $TOX_COMMIT -b $TOX_COMMIT
@@ -7079,7 +7079,7 @@ function install_tox_client {
7079 7079
     apt-get -y install libncursesw5-dev libconfig-dev libqrencode-dev libcurl4-openssl-dev
7080 7080
 
7081 7081
     cd $INSTALL_DIR
7082
-    git clone $TOXIC_REPO
7082
+    git clone $TOXIC_REPO $INSTALL_DIR/toxic
7083 7083
     cd $INSTALL_DIR/toxic
7084 7084
     git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT
7085 7085
     if ! grep -q "Toxic commit" $COMPLETION_FILE; then