Skip to content
Snippets Groups Projects
Verified Commit e2032db4 authored by David Runge's avatar David Runge :chipmunk:
Browse files

Adding linting for initcpio scripts

archiso/initcpio/install/*:
Setting bash shebang for all scripts and making them comform with shellcheck.

archiso/initcpio/{hooks,script}/*:
Setting ash shebang for all scripts and making them comform with shellcheck (for dash, as shellcheck has no ash specific
ruleset). Essentially the ash based scripts should be POSIX compliant as much as possible to have an easier time
writing, debugging and maintaining them.
Ensuring that variables are not treated as options and introducing variable quoting.

.gitlab-ci.yml:
Integrating shellcheck for initcpio scripts.

Closes #32
parent 550aca71
No related branches found
No related tags found
1 merge request!40Adding linting for initcpio scripts
Pipeline #434 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:00:27

avatar
Download artifacts

No artifacts found

Passed

00:00:25

avatar
Download artifacts

No artifacts found