forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7325 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
62b27e5915
commit
5fa4f2eb26
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
for f in *.h *.cpp
|
||||
do \
|
||||
sed -e '/#pragma omp/s/^\(.*default\)(none)\(.*\)$/\1(shared)\2/' \
|
||||
-e '/#pragma omp/s/shared([a-z0-9,_]\+)//' \
|
||||
-i.bak $f
|
||||
done
|
Loading…
Reference in New Issue