Fixing linting errors
[kuberef.git] / deploy.sh
index 631f580..34f13e4 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -16,12 +16,14 @@ set -o nounset
 # Please refer to README for detailed information.
 
 # Get path information
-DIRECTORY=$(readlink -f $0)
-CURRENTPATH=$(dirname $DIRECTORY)
+DIRECTORY=$(readlink -f "$0")
+CURRENTPATH=$(dirname "$DIRECTORY")
 
 # Source env variables & functions
-source $CURRENTPATH/deploy.env
-source $CURRENTPATH/functions.sh
+# shellcheck source=./deploy.env
+source "$CURRENTPATH/deploy.env"
+# shellcheck source=./functions.sh
+source "$CURRENTPATH/functions.sh"
 
 # Clean up leftovers
 clean_up