Modify arguments for variants of sed that are not as relaxed about them as the GNU sed is

This commit is contained in:
Bernhard F.W. Gschaider 2014-10-14 01:50:57 +02:00
parent ed75761f36
commit 193fd56eb7

View file

@ -20,8 +20,8 @@ if [ ! -d "cfMesh-v1.0" ]; then
rm cfMesh-v1.0.tgz rm cfMesh-v1.0.tgz
fi fi
# Change FOAM_LIBBIN to FOAM_USER_LIBBIN # Change FOAM_LIBBIN to FOAM_USER_LIBBIN
find cfMesh-v1.0/ -type f | grep "Make/files" | xargs sed -i s/FOAM_LIBBIN/FOAM_USER_LIBBIN/g find cfMesh-v1.0/ -type f | grep "Make/files" | xargs sed -i "" -e s/FOAM_LIBBIN/FOAM_USER_LIBBIN/g
find cfMesh-v1.0/ -type f | grep "Make/files" | xargs sed -i s/FOAM_APPBIN/FOAM_USER_APPBIN/g find cfMesh-v1.0/ -type f | grep "Make/files" | xargs sed -i "" -e s/FOAM_APPBIN/FOAM_USER_APPBIN/g
cd cfMesh-v1.0/ cd cfMesh-v1.0/
./Allwmake ./Allwmake