Browse Source

update android.sh

tuna-mirror-server 10 years ago
parent
commit
3776f11057
1 changed files with 4 additions and 2 deletions
  1. 4 2
      scripts/android.sh

+ 4 - 2
scripts/android.sh

@@ -5,12 +5,14 @@ function sync_android() {
 	/usr/local/bin/android-repo sync -f
 	/usr/local/bin/android-repo sync -f
 }
 }
 
 
-function update_server_info() {
+function update_repo_config() {
 	for repo in $(find $TUNASYNC_WORKING_DIR -type d -not -path "*/.repo/*" -name "*.git")
 	for repo in $(find $TUNASYNC_WORKING_DIR -type d -not -path "*/.repo/*" -name "*.git")
 	do
 	do
 		cd $repo
 		cd $repo
-		git update-server-info
+		echo $repo
+		git config pack.threads 1
 	done
 	done
 }
 }
 
 
 sync_android
 sync_android
+update_repo_config