summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2017-12-13 14:24:23 +0100
committerGitHub <noreply@github.com>2017-12-13 14:24:23 +0100
commit3401d345e42a154fa93859088a7aa02c20933a3e (patch)
tree091585c410751095779998888ae7c85fc8a5bd73
parent904bc291f642f99302a8513d17ad02ff0544a543 (diff)
parent1838969e3b238baa1c2886a4f7f27163bc36b488 (diff)
downloadmeta-updater-3401d345e42a154fa93859088a7aa02c20933a3e.tar.gz
Merge pull request #210 from advancedtelematic/bugfix/no-creds-expansion
Fix variable expansion problem when SOTA_PACKED_CREDENTIALS is not set.
-rw-r--r--recipes-sota/aktualizr/credentials.inc2
1 files changed, 1 insertions, 1 deletions
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 ''}"