Skip to content
  • Nirbheek Chauhan's avatar
    openssl.recipe: Fix perl version checking · a8d68e58
    Nirbheek Chauhan authored
    check_call doesn't always inherit the current environment, so it would
    run the wrong Perl because our PATH changes were ignored. However, this
    only happened in a `package` run where some other recipe was built
    beforehand.
    
    Instead, use `which()` now so that we read PATH directly. Also don't use
    environment variables to communicate the perl path, we already have that
    information in self.config.
    a8d68e58