Ensure directories can only be made with printable characters
In situations where `ls` colors directories incorrectly, the `$module` variable contains unprintable characters. This causes directories to be impossible to `cd` into normally, and is generally a pain.
This commit is contained in:
		
							parent
							
								
									8c858e4483
								
							
						
					
					
						commit
						b1dec67823
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -31,7 +31,8 @@ main() { | |||
| 	# Create permutation directories | ||||
| 	# Then run cmake, and run each build permutation | ||||
| 	# Keeping track of how many builds failed/passed | ||||
| 	for module in $scanModules; do | ||||
| 	for mod in $scanModules; do | ||||
| 		module=$(tr -dc "[:print:]" <<< "$mod") | ||||
| 		# Create directory, but do not error if it exists already | ||||
| 		mkdir -p build/$module | ||||
| 		cd build/$module | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ryan S. Brown
						Ryan S. Brown