mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +00:00
snap: Test variable instead of executing "branch"
In snapcraft.yaml we have a case statement on $(branch) - that is on the output of executing a command "branch". From the selections it appears that what it actually wants is to simply select on the contents of the $branch variable, which should be ${branch} instead. fixes #2558 Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
716ab32acf
commit
4996f9b7da
@ -299,7 +299,7 @@ parts:
|
||||
| xargs ./configure
|
||||
|
||||
# Copy QEMU configurations (Kconfigs)
|
||||
case "$(branch)" in
|
||||
case "${branch}" in
|
||||
"v5.1.0")
|
||||
cp -a ${kata_dir}/tools/packaging/qemu/default-configs/* default-configs
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user