mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 10:07:08 +00:00
Move Go code to canonical directories and execute binary instead.
This commit is contained in:
parent
8010d65dfe
commit
643c9a42e0
2
lib.sh
2
lib.sh
|
@ -103,7 +103,7 @@ function get_normalized_package_list {
|
||||||
| sed 's/[,\]/ /g; s/\s\+/ /g; s/^\s\+//g; s/\s\+$//g' \
|
| sed 's/[,\]/ /g; s/\s\+/ /g; s/^\s\+//g; s/\s\+$//g' \
|
||||||
| sort -t' ')
|
| sort -t' ')
|
||||||
local script_dir="$(dirname -- "$(realpath -- "${0}")")"
|
local script_dir="$(dirname -- "$(realpath -- "${0}")")"
|
||||||
go run ${script_dir}/apt_query.go normalized-list ${packages}
|
${script_dir}/apt_query normalized-list ${packages}
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in a new issue