添加默认可执行权限
This commit is contained in:
3
install
3
install
@ -5,10 +5,11 @@ if [ -d $objDir ]
|
|||||||
then
|
then
|
||||||
cwd=`pwd`
|
cwd=`pwd`
|
||||||
chmod +x ./ofCmakeConfig
|
chmod +x ./ofCmakeConfig
|
||||||
|
chmod +x ./occ
|
||||||
rm -f $objDir/ofCmakeConfig $objDir/occ
|
rm -f $objDir/ofCmakeConfig $objDir/occ
|
||||||
ln -s $cwd/ofCmakeConfig $objDir/
|
ln -s $cwd/ofCmakeConfig $objDir/
|
||||||
ln -s $cwd/occ $objDir/
|
ln -s $cwd/occ $objDir/
|
||||||
echo "installed ofCmakeConfig"
|
echo "installed ofCmakeConfig"
|
||||||
else
|
else
|
||||||
echo "please active OpenFOAM environment"
|
echo "please active OpenFOAM environment"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user