From 49e1ab15cdb638cb1e45eded3a86ee575117bc2f Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 2 Dec 2025 16:26:25 +0100 Subject: [PATCH] ubuntu: use a local variable where possible Signed-off-by: Olivier Gayot --- live-build/ubuntu/hooks/030-ubuntu-live-system-seed.binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/ubuntu/hooks/030-ubuntu-live-system-seed.binary b/live-build/ubuntu/hooks/030-ubuntu-live-system-seed.binary index f7e8ab33..8bac6d8d 100644 --- a/live-build/ubuntu/hooks/030-ubuntu-live-system-seed.binary +++ b/live-build/ubuntu/hooks/030-ubuntu-live-system-seed.binary @@ -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. get_snaps_args() { - model=$1 + local model=$1 # 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.