Skip to content

Commit 4f40d92

Browse files
committed
ci: fix updater shellcheck regression
1 parent 8156c5c commit 4f40d92

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
continue-on-error: true
3939
run: |
4040
set -o pipefail
41+
: > real-kernel.log
4142
sudo ./tests/integration/test_real_kernel.sh | tee real-kernel.log
4243
4344
- name: Upload real-kernel log

lib/updater/updater.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ updater_find_archive_member() {
282282
local candidate relative_path
283283

284284
while IFS= read -r candidate; do
285-
relative_path="${candidate#${unpack_dir}/}"
285+
relative_path="${candidate#"${unpack_dir}"/}"
286286
if [[ -z "${member_regex}" || "${relative_path}" =~ ${member_regex} ]]; then
287287
printf '%s\n' "${candidate}"
288288
return 0

0 commit comments

Comments
 (0)