Compilation hard codes /usr/bin/git

Issue #100 invalid
Tim Straub created an issue

The scripts that make runs relies on hard coded /usr/bin/git which may or may not actually work (version too old, etc.). Please change to checking for if git is in PATH and use that version if it is.

Comments (2)

  1. Rob Egan

    Hi Tim.

    Can you include an error log for this? I do not believe there are any hard-coded paths to git. git is used to build some of the dependencies (zlib and htslib) but I do not believe that those packages hard-code a path to git either.

    When I configure a new build, cmake executes the ExternalProject_Add function and generates make files with the fully qualified path to the git that was found, but that is not necessarily /usr/bin/git in my tests.

  2. Log in to comment