Move trailing comma for manifest list.
This commit is contained in:
parent
58be009328
commit
b80ada0329
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ manifest_filepath="$cache_dir/manifest.log"
|
||||||
echo -n "Writing package manifest to $manifest_filepath..."
|
echo -n "Writing package manifest to $manifest_filepath..."
|
||||||
manifest=
|
manifest=
|
||||||
for package in $packages; do
|
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
|
done
|
||||||
# Remove trailing comma.
|
# Remove trailing comma.
|
||||||
echo ${manifest:0:-1} > $manifest_filepath
|
echo ${manifest:0:-1} > $manifest_filepath
|
||||||
|
|
Loading…
Reference in a new issue