From 14d78ee2a7dd6023d338464bf12d1bd8e0b69bd7 Mon Sep 17 00:00:00 2001 From: ER Date: Sun, 13 Aug 2023 18:14:06 +0300 Subject: [PATCH] fix: can't set readonly var after declaration (duh) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3750629..916cda9 100644 --- a/build.sh +++ b/build.sh @@ -15,7 +15,7 @@ get_yaml_array() { export -f get_yaml_array # this makes the function available to all modules # Declare dynamically generated variables as read-only and exported -declare -rx IMAGE_NAME BASE_IMAGE OS_VERSION +declare -x IMAGE_NAME BASE_IMAGE OS_VERSION # Read configuration variables. BASE_IMAGE="$(yq '.base-image' "$RECIPE_FILE")"