mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-11-04 09:56:23 +01:00 
			
		
		
		
	Update dockcross
Fixed CFG_FILE not referring to the variable $CFG_FILE.
This commit is contained in:
		@@ -185,7 +185,7 @@ fi
 | 
			
		||||
if [ -n "$UBUNTU_ON_WINDOWS" ]; then
 | 
			
		||||
    WSL_ROOT="/mnt/"
 | 
			
		||||
    CFG_FILE=/etc/wsl.conf
 | 
			
		||||
	if [ -f CFG_FILE ]; then
 | 
			
		||||
	if [ -f "$CFG_FILE" ]; then
 | 
			
		||||
		CFG_CONTENT=$(cat $CFG_FILE | sed -r '/[^=]+=[^=]+/!d' | sed -r 's/\s+=\s/=/g')
 | 
			
		||||
		eval "$CFG_CONTENT"
 | 
			
		||||
		if [ -n "$root" ]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user