BlueTeaLondon / heroku-buildpack-libreoffice-for-heroku-18

Other
17 stars 29 forks source link

Resolve $HOME in profile.d at runtime rather than during the build #18

Closed edmorley closed 3 years ago

edmorley commented 3 years ago

Previously the value for $HOME was resolved at build time, meaning its actual value during the build is hardcoded in the .profile.d/ script, rather than just the variable name.

Whilst the value for $HOME is currently the same at both build-time and run-time (both /app), the build-time value (only) is due to change in the future to a path under /tmp, which would cause this buildpack to break.

By escaping the dollar sign, the variable $HOME is now resolved at runtime, making the buildpack compatible with this future change.

Fixes #17.

edmorley commented 3 years ago

@geomic Thank you :-)