mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			316 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			316 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| GENLIST=$(git shortlog -s -n | cut -f2 | sort)
 | |
| AUTHORSFILE="$(dirname $0)/../AUTHORS"
 | |
| TEMPAUTHORSFILE="/tmp/python-escpos-authorsfile"
 | |
| 
 | |
| if [ "$#" -eq 1 ]
 | |
|     then
 | |
|         echo "$GENLIST">$TEMPAUTHORSFILE
 | |
|         diff -q --from-file $AUTHORSFILE $TEMPAUTHORSFILE
 | |
|     else
 | |
| 	echo "$GENLIST">$AUTHORSFILE
 | |
| fi
 | |
| 
 | 
