summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-02-25 17:09:46 +0100
committerJürg Billeter <j@bitron.ch>2018-11-27 12:11:24 +0000
commit42809933d03d87aa6928d213233ec80ae3a8b3f1 (patch)
treea8c0c96bf75d5d83589b1e13df8e5d07ed7b65e1
parentdf60258a5b84b4a1e33fa66ff1ef887ee120b2e7 (diff)
downloadbuildstream-42809933d03d87aa6928d213233ec80ae3a8b3f1.tar.gz
local.py: Implement _get_local_path()
-rw-r--r--buildstream/plugins/sources/local.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/plugins/sources/local.py b/buildstream/plugins/sources/local.py
index bbb42d06a..55cdc14d3 100644
--- a/buildstream/plugins/sources/local.py
+++ b/buildstream/plugins/sources/local.py
@@ -124,6 +124,9 @@ class LocalSource(Source):
else:
os.chmod(path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IROTH)
+ def _get_local_path(self):
+ return self.fullpath
+
# Create a unique key for a file
def unique_key(filename):