Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

Fix nvme binary check#13

Open
pforman-zymergen wants to merge 1 commit intooogali:masterfrom
pforman-zymergen:pforman-nvme-check
Open

Fix nvme binary check#13
pforman-zymergen wants to merge 1 commit intooogali:masterfrom
pforman-zymergen:pforman-nvme-check

Conversation

@pforman-zymergen
Copy link
Copy Markdown

The check [[ -z nvme ]] can't ever fail, since it's checking the
string and not the presence of a binary.

Wrap that in $(command -v) to check for the binary.

The check `[[ -z nvme ]]` can't ever fail, since it's checking the
string and not the presence of a binary.

Wrap that in $(command -v) to check for the binary.
b-dean added a commit to b-dean/ebs-automatic-nvme-mapping that referenced this pull request Feb 9, 2021
also fix paths in `ebs-nvme-mapping.sh`

this had previously been fixed in oogali#3 but it was changed before it was merged.

then I tried to fix it again in oogali#8 but missed some of the digits

rebased on top of @pforman-zymergen's PR oogali#13 because
I want that binary check but udev needs the full paths
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant