mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
		
			387 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			387 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								for python in build/*.py; do
							 | 
						||
| 
								 | 
							
								    jam="${python%.py}.jam"
							 | 
						||
| 
								 | 
							
								    if [ -f "$jam" ]; then
							 | 
						||
| 
								 | 
							
								        line=`grep "Base revision" $python`
							 | 
						||
| 
								 | 
							
								        revision=`echo $line | sed 's/# Base revision: \([0-9]*\).*/\1/'`
							 | 
						||
| 
								 | 
							
								        if [ -e "$revision" ] ; then
							 | 
						||
| 
								 | 
							
								            echo "No base version for $python" >&2
							 | 
						||
| 
								 | 
							
								        else
							 | 
						||
| 
								 | 
							
								            svn diff -r $revision:HEAD "$jam"
							 | 
						||
| 
								 | 
							
								        fi
							 | 
						||
| 
								 | 
							
								    fi
							 | 
						||
| 
								 | 
							
								done
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 |