git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9448 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2013-02-12 15:19:08 +00:00
parent 0b0bf77f04
commit 0fa04785e3
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# do not install child files if parent does not exist
for file in *_omp.cpp *_omp.h ; do
ofile=`echo $file | sed -e 's,\(.*\)_omp\.\(h\|cpp\),\1.\2,'`
ofile=`echo $file | sed -e 's,\(.*\)_omp\.h,\1.h,' -e 's,\(.*\)_omp\.cpp,\1.cpp,'`
if (test $1 = 1) then
if (test $file = "thr_omp.h") || (test $file = "thr_omp.cpp") then
: # always install those files.

View File

@ -9,7 +9,7 @@ for file in *_omp.cpp *_omp.h ; do
continue
fi
# derive name of non-OpenMP version
ofile=`echo $file | sed -e 's,\(.*\)_omp\.\(h\|cpp\),\1.\2,'`
ofile=`echo $file | sed -e 's,\(.*\)_omp\.h,\1.h,' -e 's,\(.*\)_omp\.cpp,\1.cpp,'`
if (test ! -e ../$ofile) then
if (test -e ../$file) then
echo " removing src/$file"