Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

filter out comments in deploy helper env vars (#35847)

Mikayla Maki35cd1b9ae15d
diff --git a/script/lib/deploy-helpers.sh b/script/lib/deploy-helpers.sh
index c0feb2f861b..bd7b3c4d6f2 100644
--- a/script/lib/deploy-helpers.sh
+++ b/script/lib/deploy-helpers.sh
@@ -5,7 +5,7 @@ function export_vars_for_environment {
echo "Invalid environment name '${environment}'" >&2
exit 1
fi
- export $(cat $env_file)
+ export $(grep -v '^#' $env_file | grep -v '^[[:space:]]*$')
}
function target_zed_kube_cluster {