Skip to content

Commit

Permalink
fix(clone-module): correct env-file syntax
Browse files Browse the repository at this point in the history
The `--env-file` argument was previously enclosed in quotes, which could
cause issues when the command is executed. This change removes the
unnecessary quotes to ensure that the environment variables are
correctly passed to the `podman exec` command.
  • Loading branch information
Amygos committed Dec 10, 2024
1 parent 4a09116 commit 3ec80ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/actions/clone-module/21set_mariadb_passwords
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ FlUSH PRIVILEGES;
agent.run_helper(*f'podman exec mariadb mysql -u root -p{MARIADB_ROOT_PASSWORD_OLD} -e'.split(), SQL_QUERY).check_returncode()

# Set the new passwords
agent.run_helper(*f'podman exec --env-file="passwords.env" mariadb /docker-entrypoint-initdb.d/90_users.sh'.split()).check_returncode()
agent.run_helper(*f'podman exec --env-file=passwords.env mariadb /docker-entrypoint-initdb.d/90_users.sh'.split()).check_returncode()

0 comments on commit 3ec80ad

Please sign in to comment.