diff options
author | Alexis Christoforides <alexis@thenull.net> | 2017-01-18 02:20:18 +0300 |
---|---|---|
committer | Alexis Christoforides <alexis@thenull.net> | 2017-01-18 02:20:18 +0300 |
commit | 512ba41a94bec35ff0c395eb71a180fda23da95c (patch) | |
tree | 52e3c8dc1a36566be4ca1734a5273b81d6a9e463 /bockbuild.py | |
parent | 1764ddd3c198a0cf7986339694648cac273e0e9e (diff) |
Add a 'root directory' attribute to profile objects
Diffstat (limited to 'bockbuild.py')
-rwxr-xr-x | bockbuild.py | 2 |
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 |