mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 05:55:49 +00:00 
			
		
		
		
	Using the method from @cemeyer (https://github.com/espressif/esp-idf/pull/3166): find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} + Closes https://github.com/espressif/esp-idf/pull/3166.
		
			
				
	
	
		
			10 lines
		
	
	
		
			211 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			211 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
# Runs astyle with parameters which should be checked in a pre-commit hook
 | 
						|
astyle \
 | 
						|
	--style=otbs \
 | 
						|
	--indent=spaces=4 \
 | 
						|
	--convert-tabs \
 | 
						|
	--keep-one-line-statements \
 | 
						|
	--pad-header \
 | 
						|
	"$@"
 |