Added the removal of $1$WM_MPLIB as suggested in

http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/7969
This commit is contained in:
henry
2008-06-10 15:20:53 +01:00
parent d8c093fad2
commit 401dc84c25

View File

@ -47,11 +47,10 @@ then
exit 1 exit 1
fi fi
find `find . -depth \( -name "Make.[A-Za-z]*" -o -name "Make" \) -type d -print` \
-depth \( -type d -name "*$1" -o -name "*$1$WM_MPLIB" \) -exec rm -r {} \;
find `find . -depth \( -name "Make.[A-Za-z]*" -o -name "Make" \) -type d -print` -depth \( -type d -name "*$1" \) -exec rm -r {} \; #find . -depth -type d \( -name ii_files -o -name Templates.DB \) -exec rm -rf {} \;
find . -depth -type d \( -name ii_files -o -name Templates.DB \) -exec rm -rf {} \;
if [ -d lib/$1 ] if [ -d lib/$1 ]
@ -67,10 +66,5 @@ then
fi fi
fi fi
#if [ src/mpich-${MPICH_VERSION}/platforms/$1 ]
#then
# rm -rf src/mpich-${MPICH_VERSION}/platforms/$1
#fi
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------