From 1838969e3b238baa1c2886a4f7f27163bc36b488 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Wed, 13 Dec 2017 14:18:04 +0100 Subject: Fix variable expansion problem when SOTA_PACKED_CREDENTIALS is not set. Reported by Stevan, traced to the problem by me, actually fixed by Anton. --- recipes-sota/aktualizr/credentials.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sota/aktualizr/credentials.inc b/recipes-sota/aktualizr/credentials.inc index fe09550..256c8ff 100644 --- a/recipes-sota/aktualizr/credentials.inc +++ b/recipes-sota/aktualizr/credentials.inc @@ -1 +1 @@ -SRC_URI_append = "${@'file://${SOTA_PACKED_CREDENTIALS}' if d.getVar('SOTA_PACKED_CREDENTIALS', True) else ' '}" +SRC_URI_append = "${@('file://' + d.getVar('SOTA_PACKED_CREDENTIALS', True)) if d.getVar('SOTA_PACKED_CREDENTIALS', True) else ''}" -- cgit v1.2.3-54-g00ecf