summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index cbb14e1177..2f31526828 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -111,6 +111,10 @@ def sstate_state_fromvars(d, task = None):
def sstate_add(ss, source, dest, d):
srcbase = os.path.basename(source)
+ if not source.endswith:
+ source = source + "/"
+ if not dest.endswith:
+ dest = dest + "/"
ss['dirs'].append([srcbase, source, dest])
return ss