From d6357420ae18025c0f43be2f9f999b6873914fd8 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 7 Apr 2017 15:29:56 -0400 Subject: [PATCH] propagate global package installation bugfix to explicit package scripts --- src/COMPRESS/Install.sh | 2 +- src/KIM/Install.sh | 2 +- src/MEAM/Install.sh | 2 +- src/MPIIO/Install.sh | 2 +- src/MSCG/Install.sh | 2 +- src/POEMS/Install.sh | 2 +- src/PYTHON/Install.sh | 2 +- src/REAX/Install.sh | 2 +- src/USER-ATC/Install.sh | 2 +- src/USER-AWPMD/Install.sh | 2 +- src/USER-COLVARS/Install.sh | 2 +- src/USER-H5MD/Install.sh | 2 +- src/USER-MISC/Install.sh | 2 +- src/USER-MOLFILE/Install.sh | 2 +- src/USER-NC-DUMP/Install.sh | 2 +- src/USER-QMMM/Install.sh | 2 +- src/USER-QUIP/Install.sh | 2 +- src/USER-SMD/Install.sh | 2 +- src/USER-VTK/Install.sh | 2 +- src/VORONOI/Install.sh | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/COMPRESS/Install.sh b/src/COMPRESS/Install.sh index ef1c8920c8..ab9dac33dc 100644 --- a/src/COMPRESS/Install.sh +++ b/src/COMPRESS/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/KIM/Install.sh b/src/KIM/Install.sh index bac9d97cc6..7ddb9c8227 100644 --- a/src/KIM/Install.sh +++ b/src/KIM/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/MEAM/Install.sh b/src/MEAM/Install.sh index 1825d4327f..7bfc76c0e2 100644 --- a/src/MEAM/Install.sh +++ b/src/MEAM/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/MPIIO/Install.sh b/src/MPIIO/Install.sh index 3834aea5c5..902bff2fc8 100644 --- a/src/MPIIO/Install.sh +++ b/src/MPIIO/Install.sh @@ -36,7 +36,7 @@ touch ../write_restart.cpp # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package to include/exclude LMP_MPIIO setting diff --git a/src/MSCG/Install.sh b/src/MSCG/Install.sh index f7c7452101..353403c7da 100755 --- a/src/MSCG/Install.sh +++ b/src/MSCG/Install.sh @@ -25,7 +25,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/POEMS/Install.sh b/src/POEMS/Install.sh index 7996f542be..be407d76f0 100644 --- a/src/POEMS/Install.sh +++ b/src/POEMS/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/PYTHON/Install.sh b/src/PYTHON/Install.sh index 3d6f71958a..71288cf377 100755 --- a/src/PYTHON/Install.sh +++ b/src/PYTHON/Install.sh @@ -35,7 +35,7 @@ touch ../variable.cpp # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/REAX/Install.sh b/src/REAX/Install.sh index f0083810e9..bf8c8dbca2 100644 --- a/src/REAX/Install.sh +++ b/src/REAX/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-ATC/Install.sh b/src/USER-ATC/Install.sh index 1137389018..f719fe220f 100755 --- a/src/USER-ATC/Install.sh +++ b/src/USER-ATC/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-AWPMD/Install.sh b/src/USER-AWPMD/Install.sh index 7922c53395..094e10c157 100644 --- a/src/USER-AWPMD/Install.sh +++ b/src/USER-AWPMD/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-COLVARS/Install.sh b/src/USER-COLVARS/Install.sh index c01719e766..d67883a416 100755 --- a/src/USER-COLVARS/Install.sh +++ b/src/USER-COLVARS/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-H5MD/Install.sh b/src/USER-H5MD/Install.sh index bdda732807..1070afaa96 100644 --- a/src/USER-H5MD/Install.sh +++ b/src/USER-H5MD/Install.sh @@ -27,7 +27,7 @@ action () { } for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-MISC/Install.sh b/src/USER-MISC/Install.sh index 203d923164..2d42125ec3 100644 --- a/src/USER-MISC/Install.sh +++ b/src/USER-MISC/Install.sh @@ -35,6 +35,6 @@ for file in *.cpp *.h; do elif (test $file = "pair_cdeam.h") then action pair_cdeam.h pair_eam_alloy.cpp else - action $file + test -f ${file} && action $file fi done diff --git a/src/USER-MOLFILE/Install.sh b/src/USER-MOLFILE/Install.sh index 19fd3bd361..85885f66b9 100644 --- a/src/USER-MOLFILE/Install.sh +++ b/src/USER-MOLFILE/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-NC-DUMP/Install.sh b/src/USER-NC-DUMP/Install.sh index 37ebd0a0a5..4d21f0f894 100644 --- a/src/USER-NC-DUMP/Install.sh +++ b/src/USER-NC-DUMP/Install.sh @@ -27,7 +27,7 @@ action () { } for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-QMMM/Install.sh b/src/USER-QMMM/Install.sh index 089b880a77..4bede66d80 100755 --- a/src/USER-QMMM/Install.sh +++ b/src/USER-QMMM/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-QUIP/Install.sh b/src/USER-QUIP/Install.sh index ee7faaf62a..20174e664a 100644 --- a/src/USER-QUIP/Install.sh +++ b/src/USER-QUIP/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-SMD/Install.sh b/src/USER-SMD/Install.sh index c0f48c5460..cb9aa5452b 100644 --- a/src/USER-SMD/Install.sh +++ b/src/USER-SMD/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/USER-VTK/Install.sh b/src/USER-VTK/Install.sh index d02dc87772..3749242fb2 100644 --- a/src/USER-VTK/Install.sh +++ b/src/USER-VTK/Install.sh @@ -27,7 +27,7 @@ action () { } for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info diff --git a/src/VORONOI/Install.sh b/src/VORONOI/Install.sh index f21e9404eb..6373506b19 100755 --- a/src/VORONOI/Install.sh +++ b/src/VORONOI/Install.sh @@ -29,7 +29,7 @@ action () { # all package files with no dependencies for file in *.cpp *.h; do - action $file + test -f ${file} && action $file done # edit 2 Makefile.package files to include/exclude package info