File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 run : bash -n uki-setup.sh tests/test_uki_setup.sh
3030
3131 - name : ShellCheck
32- run : shellcheck uki-setup.sh tests/test_uki_setup.sh
32+ run : shellcheck -P . uki-setup.sh tests/test_uki_setup.sh
3333
3434 - name : Project checks
3535 run : bash tests/test_uki_setup.sh
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ Run the same checks locally with:
137137
138138``` bash
139139bash -n uki-setup.sh tests/test_uki_setup.sh
140- shellcheck uki-setup.sh tests/test_uki_setup.sh
140+ shellcheck -P . uki-setup.sh tests/test_uki_setup.sh
141141bash tests/test_uki_setup.sh
142142```
143143
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ cleanup() {
1111trap cleanup EXIT
1212
1313export UKI_SETUP_SKIP_MAIN=1
14- # shellcheck source=../ uki-setup.sh
14+ # shellcheck source=uki-setup.sh
1515source " $REPO_ROOT /uki-setup.sh"
1616
1717BUILD_SCRIPT=" $TMPDIR_WORK /usr-local-sbin-uki-build.sh"
Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ phase_summary() {
471471 echo " ${INSTALL_PLUGIN} ← auto-trigger on kernel installs"
472472 echo " "
473473 echo " UKIs are stored in: ${EFI_DIR} /"
474- ls -lh " ${EFI_DIR} / " * .efi 2> /dev/null | sed ' s/^/ /' || true
474+ find " ${EFI_DIR} " -maxdepth 1 -type f -name " *.efi" -exec ls -lh {} + 2> /dev/null | sed ' s/^/ /' || true
475475 echo " "
476476 echo " Current UEFI boot entries:"
477477 efibootmgr -v 2> /dev/null | grep -E ' BootOrder|Boot[0-9A-Fa-f]{4}' | sed ' s/^/ /' || true
You can’t perform that action at this time.
0 commit comments