mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	 704f48d7f3
			
		
	
	
		704f48d7f3
		
	
	
	
	
		
			
			Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh have been left largely untouched due to use of Bash-exclusive functions and variables such as $BASH_SOURCE, pushd and popd.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			159 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			159 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| echo "extern const char $1[];"
 | |
| echo "const char $1[] = \"\\"
 | |
| grep -v '^ *#' < "$2" | while IFS= read -r line; do
 | |
|   echo "$line""\\"
 | |
| done
 | |
| echo "\";"
 |