We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when using something like gomplate --input-dir=templates --output-dir=deploy that contains files with the execute bit set that is not preserved.
gomplate --input-dir=templates --output-dir=deploy
I am thinking to update gatherTemplates to add get the current FileMode and pass it to addTarget and then into openOutFile
gatherTemplates
addTarget
openOutFile
If this approach is ok I will create the pull request
The text was updated successfully, but these errors were encountered:
Hi @djgilcrease - thanks for logging this!
That sounds like a reasonable plan overall. You'll need to alter walkDir as well to track and output the mode.
walkDir
A PR would be greatly appreciated! Thank you!
Sorry, something went wrong.
#301
No branches or pull requests
when using something like
gomplate --input-dir=templates --output-dir=deploy
that contains files with the execute bit set that is not preserved.I am thinking to update
gatherTemplates
to add get the current FileMode and pass it toaddTarget
and then intoopenOutFile
If this approach is ok I will create the pull request
The text was updated successfully, but these errors were encountered: