Check prerequisites after sourcing env variables
[kuberef.git] / deploy.sh
index d817022..def7d95 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -23,15 +23,14 @@ export CURRENTPATH
 
 # shellcheck source=./functions.sh
 source "$CURRENTPATH/functions.sh"
+# shellcheck source=./deploy.env
+source "$CURRENTPATH/deploy.env"
 
 # ---------------------------------------------------------------------
 # check installation and runtime prerequisites
 # ---------------------------------------------------------------------
 check_prerequisites
 
-# shellcheck source=./deploy.env
-source "$CURRENTPATH/deploy.env"
-
 # ---------------------------------------------------------------------
 # creates a virtual environment for installation of dependencies
 # ---------------------------------------------------------------------