TerabyteQbt / meta

QBT Build Tool - A repository stitcher and dependency management enterprise build framework
https://qbtbuildtool.com
The Unlicense
4 stars 0 forks source link

qbt wrapper script fails if you pass config file as argument but can't findup to get it #3

Open terabyte opened 6 years ago

terabyte commented 6 years ago

Repro steps:

$ git clone <some meta URL> /path/to/meta
$ cp /path/to/qbt-config.template meta/qbt-config
$ cd /some/other/path
$ /path/to/meta/bin/qbt help --manifest /path/to/meta/qbt-manifest --config /path/to/meta/qbt-config
Error: could not find qbt-manifest or .qbt-meta-location while finding up

This is done because the qbt wrapper script attempts to create the config file from a template if it doesn't already exist, but it isn't smart enough to see we are passing a config file on the command line. Automated scripts that do this therefore should not use this wrapper probably.