From b80ada032932cd3828bec7659ef3ff158484ebe2 Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Fri, 22 Oct 2021 00:16:17 -0700 Subject: [PATCH] Move trailing comma for manifest list. --- install_and_cache_pkgs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_and_cache_pkgs.sh b/install_and_cache_pkgs.sh index d402901..bbf54dc 100755 --- a/install_and_cache_pkgs.sh +++ b/install_and_cache_pkgs.sh @@ -44,7 +44,7 @@ manifest_filepath="$cache_dir/manifest.log" echo -n "Writing package manifest to $manifest_filepath..." manifest= for package in $packages; do - manifest=$manifest,$package:$(dpkg -s $package | grep Version | awk '{print $2}') + manifest=$manifest$package:$(dpkg -s $package | grep Version | awk '{print $2}'), done # Remove trailing comma. echo ${manifest:0:-1} > $manifest_filepath