forked from mirrors/nixpkgs
nixos ec2/create-amis.sh: shellcheck: quote state_dir reference
This commit is contained in:
parent
c76692192a
commit
f5994c208d
|
@ -101,7 +101,7 @@ write_state() {
|
|||
local type=$2
|
||||
local val=$3
|
||||
|
||||
mkdir -p $state_dir
|
||||
mkdir -p "$state_dir"
|
||||
echo "$val" > "$state_dir/$state_key.$type"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue