← Back to issue list

Bug: Edgecase: Error when shellcheck is not installed

View original Github issue

Metadata

Project
rockcraft
Number
#886
Type
issue
State
open
Author
RafaelJohn9
Labels
Created
2025-05-19 04:40:44+00:00
Updated
2025-05-19 04:40:44+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description When running `make lint`. I got this error ``` git ls-files | file --mime-type -Nnf- | grep shellscript | cut -f1 -d: | xargs -r shellcheck xargs: shellcheck: No such file or directory make: *** [common.mk:157: lint-shellcheck] Error 127 ``` Root cause: seems to happen if `shellcheck` hasn't been installed in the system ### To Reproduce - Ensure you don't have shellcheck installed in the system - Run `make lint` ### Environment Ubuntu 24.04 LTS ### rockcraft.yaml ```yaml None ``` ### Relevant log output ```shell None ```

Evaluation history

No evaluation history available.