mirror of
https://github.com/bitnami/minideb.git
synced 2026-06-04 10:13:55 +08:00
ci(snapshot_id): Fix URL escaping (#138)
This commit is contained in:
@@ -24,6 +24,7 @@ get_latest_debian_snapshot_id() {
|
||||
local -r snapshot_list_tmp_file="${snapshot_tmp_dir}/month-snapshots.html"
|
||||
|
||||
! month_query=$(get_latest_month_query) && return 1
|
||||
month_query=${month_query/&month=/&month=}
|
||||
|
||||
curl -sSfL "https://snapshot.debian.org/archive/debian/$month_query" > "$snapshot_list_tmp_file"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user