Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: can't set readonly var after declaration
Browse files Browse the repository at this point in the history
(duh)
  • Loading branch information
xynydev committed Aug 13, 2023
1 parent 38dda90 commit 14d78ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")"
Expand Down

0 comments on commit 14d78ee

Please sign in to comment.