Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't interpolate variables #69

Open
lis0r opened this issue Jan 30, 2021 · 1 comment
Open

Can't interpolate variables #69

lis0r opened this issue Jan 30, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@lis0r
Copy link

lis0r commented Jan 30, 2021

The variable interpolation for file_unarchive_cmd can only replace entire parameters, not interpolate them. e.g., the following fails:

"file_unarchive_cmd": ["7z", "x", "$ARCHIVE_PATH", "DietPi_RPi-ARMv8-Buster.img", "-o$TMP_DIR"],

7z insists on -o being one argument.

@mkaczanowski
Copy link
Owner

this is implemented as a simple substitution:

vars := map[string]string{

it should be trivial to change @lis0r if you need it

@mkaczanowski mkaczanowski added the enhancement New feature or request label Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants