phar-io / phive

The Phar Installation and Verification Environment (PHIVE)
https://phar.io
BSD 3-Clause "New" or "Revised" License
579 stars 43 forks source link

Make global bin dir configurable #106

Open sebastianheuer opened 7 years ago

sebastianheuer commented 7 years ago

105 changed the dynamic determination of the target directory for global installations to fixed directories for Linux (/usr/bin) and macOS (/usr/local/bin). It should be possible to override this, preferably by executing a configuration command or manually editing Phive's global configuration file (which will be introduced with #62).

sgohl commented 5 years ago

I am in need of this feature too. It would be convenient to be able to set this via environment variable. This way, it would be perfectly usable in Docker Images.