Add commandline argument for config file

A config file can be specified when running build, e.g.:

  ./build.sh myconfig
This commit is contained in:
Sam Tygier
2018-12-21 04:09:47 +00:00
committed by XECDesign
parent cc6605695d
commit 7fbfdda31e
3 changed files with 32 additions and 14 deletions
+7
View File
@@ -95,6 +95,13 @@ A simple example for building Raspbian:
IMG_NAME='Raspbian'
```
The config file can also be specified on the command line as an argument the `build.sh` or `build-docker.sh` scripts.
```
./build -c myconfig
```
This is parsed after `config` so can be used to override values set there.
## How the build process works