Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
I've the following setup and could not get git tags to show up:
- CentOS Linux release 7.3.1611
- php70u-fpm.x86_64 7.0.15-1.ius.centos7
- nginx.x86_64 1:1.10.2-1.el7
I started debugging this and figured out that command_exists('git') gives an empty return.
If I run this locally I get '/usr/bin/git', if I run an interactive shell as nginx (sudo -u nginx php -a) I get '/bin/git'. I am unsure what the best patch to fix that would be.
If I hardcode '/usr/bin/git', environment_indicator_execute_os_command() has no problem executing git describe.
Comments
Comment #2
grahlComment #3
grahlNo longer relevant with the latest version.