box-project / box2

An application for building and managing Phars.
https://box-project.github.io/box2/
MIT License
1.19k stars 80 forks source link

Fix assumed relative path to `import`ed configuration file. #131

Closed kherge closed 8 years ago

kherge commented 8 years ago

This block of code for handling configuration import assumes that you will always be in the same directory as either box.json or box.json.dist. This may not be true if the -c option is used to define an alternative configuration file path.