fix function load_project_config

This commit is contained in:
2025-09-28 13:09:47 +02:00
parent b9fcbd90bb
commit 444f5825b1

View File

@@ -598,8 +598,8 @@ EOF
# Projektparameter laden # Projektparameter laden
load_project_config() { load_project_config() {
project="$1" #project="$1"
config_file="$PROJECT_CONFIG_DIR/$project/config-file" config_file="$1"
if [[ -f "$config_file" ]]; then if [[ -f "$config_file" ]]; then
echo "Lade Konfiguration für Projekt: $project" echo "Lade Konfiguration für Projekt: $project"
image_name=$(grep "^image_name=" "$config_file" | cut -d= -f2) image_name=$(grep "^image_name=" "$config_file" | cut -d= -f2)