Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use --installed option while executing brew --prefix #9

Merged
merged 1 commit into from
May 3, 2021

Conversation

skaji
Copy link
Contributor

@skaji skaji commented May 3, 2021

It seems like brew --prefix openssl prints a directory even if openssl formula is not installed.

❯ brew --prefix --help
Usage: brew --prefix [--unbrewed] [--installed] [formula ...]
...
If formula is provided, display the location where formula is or would be
installed.
...
      --installed                  Outputs nothing and returns a failing
                                   status code if formula is not installed.

This PR adds --installed option to brew --prefix command so that brew --prefix prints a directory only if openssl formula is actually installed.

@akiym akiym merged commit 8b69bc3 into akiym:master May 3, 2021
@akiym
Copy link
Owner

akiym commented May 3, 2021

Released 0.13 https://metacpan.org/release/AKIYM/Crypt-OpenSSL-Guess-0.13

kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jul 12, 2021
0.13 2021-05-03T15:37:39Z

    - use --installed option while executing brew --prefix (PR#9
      @skaji++)

References:
akiym/Crypt-OpenSSL-Guess#9

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jul 13, 2021
0.13 2021-05-03T15:37:39Z

    - use --installed option while executing brew --prefix (PR#9
      @skaji++)

References:
akiym/Crypt-OpenSSL-Guess#9

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
sgunin pushed a commit to sgunin/oe-meta-openembedded-contrib that referenced this pull request Mar 17, 2024
0.13 2021-05-03T15:37:39Z

    - use --installed option while executing brew --prefix (PR#9
      @skaji++)

References:
akiym/Crypt-OpenSSL-Guess#9

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
daregit pushed a commit to daregit/yocto-combined that referenced this pull request May 22, 2024
0.13 2021-05-03T15:37:39Z

    - use --installed option while executing brew --prefix (PR#9
      @skaji++)

References:
akiym/Crypt-OpenSSL-Guess#9

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
daregit pushed a commit to daregit/yocto-combined that referenced this pull request May 22, 2024
0.13 2021-05-03T15:37:39Z

    - use --installed option while executing brew --prefix (PR#9
      @skaji++)

References:
akiym/Crypt-OpenSSL-Guess#9

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants