rails-sqlserver / heroku-buildpack-freetds

This is a Heroku buildpack for vendoring the FreeTDS binaries into your project.
MIT License
10 stars 31 forks source link

Escape $PATH to ensure dynamic evaluation #18

Closed joshuaclayton closed 2 years ago

joshuaclayton commented 2 years ago

What?

This updates the compile script to escape '$' when generating the shell file, ensuring that $PATH is determined dynamically by .profile.d/freetds.sh rather than writing a snapshot of the value to disk by evaluating immediately.

Closes #17

joshuaclayton commented 2 years ago

I've confirmed this doesn't actually fix the issue; closing this out for now until a suitable change is identified.