From a1433bf82c8b738474b55e6d890efea854e7dba1 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 1 Feb 2013 14:42:34 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9378 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/Make.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Make.sh b/src/Make.sh index 47d62037e2..616cbbca30 100644 --- a/src/Make.sh +++ b/src/Make.sh @@ -19,7 +19,9 @@ style () { echo "#include $qfile" >> style_$3.tmp done if (test ! -e style_$3.tmp) then - if (test "`cat style_$3.h`" != "") then + if (test ! -e style_$3.h) then + touch style_$3.h + elif (test "`cat style_$3.h`" != "") then rm -f style_$3.h touch style_$3.h rm -f Obj_*/$4.d @@ -27,7 +29,7 @@ style () { rm -f Obj_*/$5.d fi rm -f Obj_*/lammps.d - fi + fi elif (test ! -e style_$3.h) then mv style_$3.tmp style_$3.h rm -f Obj_*/$4.d