13 lines
		
	
	
		
			266 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			266 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
objDir=$WM_PROJECT_DIR/wmake
 | 
						|
if [ -d $objDir ]
 | 
						|
then
 | 
						|
    cwd=`pwd`
 | 
						|
    chmod +x ./ofCmakeConfig
 | 
						|
    rm -f $objDir/ofCmakeConfig
 | 
						|
    ln -s $cwd/ofCmakeConfig $objDir/
 | 
						|
    echo "installed ofCmakeConfig"
 | 
						|
else
 | 
						|
    echo "please active OpenFOAM environment"
 | 
						|
fi |