mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-12-16 00:23:29 +00:00
ubuntu: use a local variable where possible
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
parent
5cbea9f677
commit
49e1ab15cd
@ -33,7 +33,7 @@ json.dump(yaml.safe_load(sys.stdin), sys.stdout, default=str)
|
|||||||
# Use jq to retrieve a list of --snap options from a given *signed* model.
|
# Use jq to retrieve a list of --snap options from a given *signed* model.
|
||||||
get_snaps_args()
|
get_snaps_args()
|
||||||
{
|
{
|
||||||
model=$1
|
local model=$1
|
||||||
|
|
||||||
# The model is signed and is not valid YAML unless we get rid of the
|
# The model is signed and is not valid YAML unless we get rid of the
|
||||||
# signature. Here we assume the only blank line is before the signature.
|
# signature. Here we assume the only blank line is before the signature.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user