-
- Downloads
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
Showing
- .gitlab-ci.yml 4 additions, 0 deletions.gitlab-ci.yml
- archiso/initcpio/hooks/archiso 60 additions, 50 deletionsarchiso/initcpio/hooks/archiso
- archiso/initcpio/hooks/archiso_loop_mnt 16 additions, 11 deletionsarchiso/initcpio/hooks/archiso_loop_mnt
- archiso/initcpio/hooks/archiso_pxe_common 30 additions, 27 deletionsarchiso/initcpio/hooks/archiso_pxe_common
- archiso/initcpio/hooks/archiso_pxe_http 16 additions, 9 deletionsarchiso/initcpio/hooks/archiso_pxe_http
- archiso/initcpio/hooks/archiso_pxe_nbd 15 additions, 12 deletionsarchiso/initcpio/hooks/archiso_pxe_nbd
- archiso/initcpio/hooks/archiso_pxe_nfs 19 additions, 9 deletionsarchiso/initcpio/hooks/archiso_pxe_nfs
- archiso/initcpio/hooks/archiso_shutdown 3 additions, 1 deletionarchiso/initcpio/hooks/archiso_shutdown
- archiso/initcpio/install/archiso 3 additions, 5 deletionsarchiso/initcpio/install/archiso
- archiso/initcpio/install/archiso_kms 1 addition, 1 deletionarchiso/initcpio/install/archiso_kms
- archiso/initcpio/install/archiso_loop_mnt 1 addition, 3 deletionsarchiso/initcpio/install/archiso_loop_mnt
- archiso/initcpio/install/archiso_pxe_common 6 additions, 8 deletionsarchiso/initcpio/install/archiso_pxe_common
- archiso/initcpio/install/archiso_pxe_http 2 additions, 4 deletionsarchiso/initcpio/install/archiso_pxe_http
- archiso/initcpio/install/archiso_pxe_nbd 1 addition, 3 deletionsarchiso/initcpio/install/archiso_pxe_nbd
- archiso/initcpio/install/archiso_pxe_nfs 1 addition, 3 deletionsarchiso/initcpio/install/archiso_pxe_nfs
- archiso/initcpio/install/archiso_shutdown 3 additions, 5 deletionsarchiso/initcpio/install/archiso_shutdown
- archiso/initcpio/script/archiso_shutdown 7 additions, 5 deletionsarchiso/initcpio/script/archiso_shutdown
Please register or sign in to comment