mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +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.
		
			
				
	
	
		
			15 lines
		
	
	
		
			297 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			297 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
# Runs astyle with the full set of formatting options
 | 
						|
astyle \
 | 
						|
	--style=otbs \
 | 
						|
	--attach-namespaces \
 | 
						|
	--attach-classes \
 | 
						|
	--indent=spaces=4 \
 | 
						|
	--convert-tabs \
 | 
						|
	--align-pointer=name \
 | 
						|
	--align-reference=name \
 | 
						|
	--keep-one-line-statements \
 | 
						|
	--pad-header \
 | 
						|
	--pad-oper \
 | 
						|
	"$@"
 |