Revision a27880ba6f2b076035eaa04196acfc764d68a1c1

Committed on 17/04/2016 3:16 pm by André R <andre.romcke@gmail.com> [GitHub Diff]

Prepare distribution for container use (#108)

* [vhost.sh] Add support for conditional commented lines in vhost templates

Reason for this is that we don't want to set env variables unless they
are set when executing vhost.sh, as we rather want eZ Platform to pick them
from system env variables for use with docker containers, so you can change
them w/o regenerating vhost.

Commit also does some smaller cleanup and allows basedir to be detected automatically.

* [vhost.sh] Fixed conditional commented lines

- Removes "if[var...]" in output ( lines remains ordinary comments without our "if" statement
- Fixed "#if[VAR!=some-other-value] " code so it now works with multiple occurences

* [Env] Allow parameters to be injected via envenv