mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Move trailing comma for manifest list.
This commit is contained in:
parent
58be009328
commit
b80ada0329
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue