添加默认可执行权限

This commit is contained in:
Zhuo Yang 2022-08-30 15:11:04 +08:00
parent cca0de5e85
commit c156383deb
2 changed files with 2 additions and 1 deletions

View File

@ -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

0
occ Normal file → Executable file
View File