From 49911b474133610404b39f1385630546fb8f236b Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Mon, 25 Jul 2022 21:04:40 -0700 Subject: [PATCH] Remove obsolete command. Variable is already space delimited. --- install_and_cache_pkgs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_and_cache_pkgs.sh b/install_and_cache_pkgs.sh index a7f9fed..f41e84e 100755 --- a/install_and_cache_pkgs.sh +++ b/install_and_cache_pkgs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # Fail on any error. set -e @@ -53,7 +53,7 @@ for package in ${normalized_packages}; do cached_packages="${cached_packages} ${package_name}:${package_version}" read dep_packages < <(get_dep_packages "${package_name}") || exit 2 - cached_packages="${cached_packages} $(echo ${dep_packages} | tr '\n' ' ')" + cached_packages="${cached_packages} ${dep_packages}" if test -z "${dep_packages}"; then dep_packages_text="none";