mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	 e94288da31
			
		
	
	e94288da31
	
	
	
		
			
			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 \
 | |
| 	"$@"
 |