From ac0e7cf93ce7ab4a976f59dd41a5e9bdaf4b7071 Mon Sep 17 00:00:00 2001
From: nickb <nickb@ssec.wisc.edu>
Date: Wed, 27 Jan 2021 23:03:02 +0000
Subject: [PATCH] move non-user-callable scripts to a libexec directory

---
 gridded_glm/bin/glm_trio_picker.sh               | 4 ++--
 gridded_glm/bin/make_glm_grids.sh                | 4 ++--
 gridded_glm/bin/minute_gridder.sh                | 4 ++--
 gridded_glm/{bin => libexec}/_glm_trio_picker.py | 0
 gridded_glm/{bin => libexec}/_make_glm_grids.py  | 0
 gridded_glm/{bin => libexec}/_minute_gridder.py  | 0
 gridded_glm/{bin => libexec}/env.sh              | 0
 7 files changed, 6 insertions(+), 6 deletions(-)
 rename gridded_glm/{bin => libexec}/_glm_trio_picker.py (100%)
 rename gridded_glm/{bin => libexec}/_make_glm_grids.py (100%)
 rename gridded_glm/{bin => libexec}/_minute_gridder.py (100%)
 rename gridded_glm/{bin => libexec}/env.sh (100%)

diff --git a/gridded_glm/bin/glm_trio_picker.sh b/gridded_glm/bin/glm_trio_picker.sh
index c57532b..034851e 100755
--- a/gridded_glm/bin/glm_trio_picker.sh
+++ b/gridded_glm/bin/glm_trio_picker.sh
@@ -6,7 +6,7 @@ if [ -z "$CSPP_GEO_GGLM_HOME" ]; then
 fi
 
 # Setup necessary environments
-source $CSPP_GEO_GGLM_HOME/bin/env.sh
+source $CSPP_GEO_GGLM_HOME/libexec/env.sh
 
 # Call the python module to do the processing, passing all arguments
-python3 $CSPP_GEO_GGLM_HOME/bin/_glm_trio_picker.py "$@"
+python3 $CSPP_GEO_GGLM_HOME/libexec/_glm_trio_picker.py "$@"
diff --git a/gridded_glm/bin/make_glm_grids.sh b/gridded_glm/bin/make_glm_grids.sh
index d844d91..f0e5362 100755
--- a/gridded_glm/bin/make_glm_grids.sh
+++ b/gridded_glm/bin/make_glm_grids.sh
@@ -26,7 +26,7 @@ if [ -z "$CSPP_GEO_GGLM_HOME" ]; then
 fi
 
 # Setup necessary environments
-source $CSPP_GEO_GGLM_HOME/bin/env.sh
+source $CSPP_GEO_GGLM_HOME/libexec/env.sh
 
 # Call the python module to do the processing, passing all arguments
-python3 $CSPP_GEO_GGLM_HOME/bin/_make_glm_grids.py "$@"
+python3 $CSPP_GEO_GGLM_HOME/libexec/_make_glm_grids.py "$@"
diff --git a/gridded_glm/bin/minute_gridder.sh b/gridded_glm/bin/minute_gridder.sh
index e92065b..f554eec 100755
--- a/gridded_glm/bin/minute_gridder.sh
+++ b/gridded_glm/bin/minute_gridder.sh
@@ -26,7 +26,7 @@ if [ -z "$CSPP_GEO_GGLM_HOME" ]; then
 fi
 
 # Setup necessary environments
-source $CSPP_GEO_GGLM_HOME/bin/env.sh
+source $CSPP_GEO_GGLM_HOME/libexec/env.sh
 
 # Call the python module to do the processing, passing all arguments
-python3 $CSPP_GEO_GGLM_HOME/bin/_minute_gridder.py "$@"
+python3 $CSPP_GEO_GGLM_HOME/libexec/_minute_gridder.py "$@"
diff --git a/gridded_glm/bin/_glm_trio_picker.py b/gridded_glm/libexec/_glm_trio_picker.py
similarity index 100%
rename from gridded_glm/bin/_glm_trio_picker.py
rename to gridded_glm/libexec/_glm_trio_picker.py
diff --git a/gridded_glm/bin/_make_glm_grids.py b/gridded_glm/libexec/_make_glm_grids.py
similarity index 100%
rename from gridded_glm/bin/_make_glm_grids.py
rename to gridded_glm/libexec/_make_glm_grids.py
diff --git a/gridded_glm/bin/_minute_gridder.py b/gridded_glm/libexec/_minute_gridder.py
similarity index 100%
rename from gridded_glm/bin/_minute_gridder.py
rename to gridded_glm/libexec/_minute_gridder.py
diff --git a/gridded_glm/bin/env.sh b/gridded_glm/libexec/env.sh
similarity index 100%
rename from gridded_glm/bin/env.sh
rename to gridded_glm/libexec/env.sh
-- 
GitLab