All of lore.kernel.org
 help / color / mirror / Atom feed
* [tpm2] [01org/tpm2-tools] 97658a: configure: fix check for bash shell
@ 2017-11-06 17:00 GitHub
  0 siblings, 0 replies; only message in thread
From: GitHub @ 2017-11-06 17:00 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

  Branch: refs/heads/master
  Home:   https://github.com/01org/tpm2-tools
  Commit: 97658a53ef54b9619a49e20bf9bf7d288f0ca8bf
      https://github.com/01org/tpm2-tools/commit/97658a53ef54b9619a49e20bf9bf7d288f0ca8bf
  Author: Javier Martinez Canillas <javierm(a)redhat.com>
  Date:   2017-11-06 (Mon, 06 Nov 2017)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure: fix check for bash shell

The bash shell sets the BASH variable with the full path name used to
execute the current instance of bash. But the configure script uses it
to attempt to check if the bash binary is present on a given system.

The configure script uses the #!/bin/sh shebang, so on a system where
/bin/sh is the bash shell, the configure script will fail to find the
bash binary due BASH being set to /bin/sh:

checking for bash... /bin/sh
configure: WARNING: Required executable bash not found, system tests require a bash shell!

Use instead a variable name that isn't an internal one used by bash.

Signed-off-by: Javier Martinez Canillas <javierm(a)redhat.com>



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-06 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06 17:00 [tpm2] [01org/tpm2-tools] 97658a: configure: fix check for bash shell GitHub

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.