diff options
author | Chris Johns <chrisj@rtems.org> | 2018-11-29 10:13:59 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-11-29 10:16:38 +1100 |
commit | 93821feb1652a124da92692850740cc6f22263f0 (patch) | |
tree | 240a3b284251c92dc10d5fac255f23e3410f5b01 /rtemstoolkit | |
parent | rtemstoolkit/version: Remove the tailing - with a clean git repo (diff) | |
download | rtems-tools-93821feb1652a124da92692850740cc6f22263f0.tar.bz2 |
rtemstoolkit/git: Use 'git' if no macro path is present.
Diffstat (limited to 'rtemstoolkit')
-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}') |