Fix broken function calls.
This commit is contained in:
parent
971da5988a
commit
cdad971850
1 changed files with 5 additions and 4 deletions
|
@ -28,7 +28,7 @@ debug="${4}"
|
||||||
input_packages="${@:5}"
|
input_packages="${@:5}"
|
||||||
|
|
||||||
# Trim commas, excess spaces, and sort.
|
# Trim commas, excess spaces, and sort.
|
||||||
packages="$(normalize_package_list "${input_packages}")"
|
packages="$(get_normalized_package_list "${input_packages}")"
|
||||||
|
|
||||||
# Create cache directory so artifacts can be saved.
|
# Create cache directory so artifacts can be saved.
|
||||||
mkdir -p ${cache_dir}
|
mkdir -p ${cache_dir}
|
||||||
|
@ -56,7 +56,8 @@ log_empty_line
|
||||||
versioned_packages=""
|
versioned_packages=""
|
||||||
log "Verifying packages..."
|
log "Verifying packages..."
|
||||||
for package in ${packages}; do
|
for package in ${packages}; do
|
||||||
if test ! "$(apt-cache show "${package}")"; then
|
apt_syntax_package=$(convert_action_to_apt_syntax_packages ${package})
|
||||||
|
if test ! "$(apt-cache show ${apt_syntax_package})"; then
|
||||||
echo "aborted"
|
echo "aborted"
|
||||||
log "Package '${package}' not found." >&2
|
log "Package '${package}' not found." >&2
|
||||||
exit 5
|
exit 5
|
||||||
|
@ -74,7 +75,7 @@ set -e
|
||||||
log "Creating cache key..."
|
log "Creating cache key..."
|
||||||
|
|
||||||
# TODO Can we prove this will happen again?
|
# TODO Can we prove this will happen again?
|
||||||
normalized_versioned_packages="$(normalize_package_list "${versioned_packages}")"
|
normalized_versioned_packages="$(get_normalized_package_list "${versioned_packages}")"
|
||||||
log "- Normalized package list is '${normalized_versioned_packages}'."
|
log "- Normalized package list is '${normalized_versioned_packages}'."
|
||||||
|
|
||||||
# Forces an update in cases where an accidental breaking change was introduced
|
# Forces an update in cases where an accidental breaking change was introduced
|
||||||
|
|
Loading…
Reference in a new issue