1 |
commit: d73b5dacce0927e727db5aebb9384a6fd2bb1cd5 |
2 |
Author: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Mar 27 03:23:02 2011 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Mar 27 03:23:02 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=d73b5dac |
7 |
|
8 |
fix missed parameter. |
9 |
|
10 |
--- |
11 |
layman/overlays/source.py | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/layman/overlays/source.py b/layman/overlays/source.py |
15 |
index b88131f..458f627 100644 |
16 |
--- a/layman/overlays/source.py |
17 |
+++ b/layman/overlays/source.py |
18 |
@@ -112,7 +112,7 @@ class OverlaySource(object): |
19 |
return self.config['%s_command' % self.__class__.type_key] |
20 |
|
21 |
def run_command(self, command, *args, **kwargs): |
22 |
- file_to_run = _resolve_command(command)[1] |
23 |
+ file_to_run = _resolve_command(command, self.output.error)[1] |
24 |
args = (file_to_run, ) + args |
25 |
assert('pwd' not in kwargs) # Bug detector |