Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Christoforides <alexis@thenull.net>2017-01-18 02:20:18 +0300
committerAlexis Christoforides <alexis@thenull.net>2017-01-18 02:20:18 +0300
commit512ba41a94bec35ff0c395eb71a180fda23da95c (patch)
tree52e3c8dc1a36566be4ca1734a5273b81d6a9e463 /bockbuild.py
parent1764ddd3c198a0cf7986339694648cac273e0e9e (diff)
Add a 'root directory' attribute to profile objects
Diffstat (limited to 'bockbuild.py')
-rwxr-xr-xbockbuild.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bockbuild.py b/bockbuild.py
index a6bdf4a..20f6b9a 100755
--- a/bockbuild.py
+++ b/bockbuild.py
@@ -370,6 +370,8 @@ class Bockbuild:
new_profile = Profile.loaded
new_profile._path = fullpath
+ new_profile.directory = path
+
new_profile.git_root = git_rootdir (self, os.path.dirname (path))
config.protected_git_repos.append (new_profile.git_root)
self.profile_name = source