diff options
-rw-r--r-- | rtemstoolkit/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemstoolkit/git.py b/rtemstoolkit/git.py index b92391f..f65300b 100644 --- a/rtemstoolkit/git.py +++ b/rtemstoolkit/git.py @@ -66,7 +66,7 @@ class repo: self.macros = opts.defaults else: self.macros = macros - if self.macros is None: + if self.macros is None or not self.macros.has_key('__git'): self.git = 'git' else: self.git = self.macros.expand('%{__git}') |