-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: Implement find_program() to try BINDIR path before PATH
To support install paths that are not covered by $PATH, and still allow swtpm_setup and swtpm_localca to find swtpm and swtpm_cert executables, implement find_program() to prepend the install path if only the program name is given and otherwise fall back to g_find_program_in_path(). Update the man page stating that swtpm from the installation directory (BINDIR) is tried to be used before one is attempted to be found in the PATH. Resolves: #795 Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
- Loading branch information
1 parent
fd2c9fd
commit ee0bce1
Showing
5 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters