You've already forked linux-packaging-mono
							
							
		
			
				
	
	
		
			10 lines
		
	
	
		
			274 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			274 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash -e
 | |
| 
 | |
| CURRENT_BRANCH=$(git branch -l | egrep '^\* ' | cut -d ' ' -f 2)
 | |
| DEBIAN_PATCHES=$(git branch -lr | egrep "$CURRENT_BRANCH-patches/")
 | |
| for DEBIAN_PATCH in $DEBIAN_PATCHES; do
 | |
| 	git checkout ${DEBIAN_PATCH/origin\//}
 | |
| 	git pull
 | |
| done 
 | |
| git checkout $CURRENT_BRANCH
 |