diff options
| author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-11-09 22:47:05 -0500 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-11-12 22:17:10 -0500 |
| commit | f30db4cd555215063a3b016eb77f001e9cf504b6 (patch) | |
| tree | f70773e5aa57afe9bb998781d6aca231a90cc1fc | |
| parent | 79d8f7ab9717de2c8f89df13a4c0bd1d27c8c125 (diff) | |
| download | phosphor-inventory-manager-f30db4cd555215063a3b016eb77f001e9cf504b6.tar.gz phosphor-inventory-manager-f30db4cd555215063a3b016eb77f001e9cf504b6.zip | |
Find examples directory when invoked out of tree
Change-Id: I5d5a7024c5145b0acd5961f4b942bbff635e94cb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
| -rwxr-xr-x | pimgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ if __name__ == '__main__': default='generated.cpp', help='Output file name.') parser.add_argument( '-d', '--dir', dest='inputdir', - default='example', + default=os.path.join(script_dir, 'example'), help='Location of files to process.') args = parser.parse_args() |

