打包脚本集中管理
This commit is contained in:
		
							
								
								
									
										13
									
								
								shell/update.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								shell/update.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
#!/usr/bin/expect
 | 
			
		||||
 | 
			
		||||
set Name [lindex $argv 0]
 | 
			
		||||
set Prj [lindex $argv 1]
 | 
			
		||||
puts "更新$Name"
 | 
			
		||||
cd $Prj
 | 
			
		||||
spawn git pull
 | 
			
		||||
expect "Username"
 | 
			
		||||
send "aixianling\r"
 | 
			
		||||
expect "Password"
 | 
			
		||||
send "axl123.0\r"
 | 
			
		||||
interact
 | 
			
		||||
cd ..
 | 
			
		||||
		Reference in New Issue
	
	Block a user