autopkg / orchard-recipes

Repo for autopkg recipes created by the University of Oxford Orchard Mac team.
GNU General Public License v3.0
2 stars 14 forks source link

Remove NAME variable from app paths #12

Closed homebysix closed 5 years ago

homebysix commented 5 years ago

Because variables can be overridden, it's a good idea to make sure that the recipe will still work even if a non-default variables used. One issue that would prevent recipes from running is using a NAME variable in paths that should be hard-coded (e.g. /Applications/Foo.app).

This PR removes the NAME variable from all file paths and replaces it with the actual app name, which should make the recipe more resilient for overrides.