mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 09:26:52 +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:
		| @@ -299,7 +299,7 @@ parts: | |||||||
|         | xargs ./configure |         | xargs ./configure | ||||||
|  |  | ||||||
|       # Copy QEMU configurations (Kconfigs) |       # Copy QEMU configurations (Kconfigs) | ||||||
|       case "$(branch)" in |       case "${branch}" in | ||||||
|       "v5.1.0") |       "v5.1.0") | ||||||
|         cp -a ${kata_dir}/tools/packaging/qemu/default-configs/* default-configs |         cp -a ${kata_dir}/tools/packaging/qemu/default-configs/* default-configs | ||||||
|         ;; |         ;; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user