diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-04-03 04:22:55 +0100 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-04-23 09:56:13 +0000 |
commit | 8b1f9f0131a96cf2a6b3764de5140e13a3adb3eb (patch) | |
tree | 05c0de735a677454e48227e46c0945e44f270e14 /scripts/build/chroot_dpkg | |
parent | 04c5aae0a97fac04c92b864fb1b3484354acded0 (diff) | |
download | vyos-live-build-8b1f9f0131a96cf2a6b3764de5140e13a3adb3eb.tar.gz vyos-live-build-8b1f9f0131a96cf2a6b3764de5140e13a3adb3eb.zip |
frontend: fix use of config/environment[.binary]
the environment variables when held in a variable need to be used via
`env` otherwise you get command not found errors.
example:
```
$ echo "AA=aa" > config/environment
$ lb config
/usr/bin/lb: 83: AA=aa: not found
$ ENV="AA=aa"
$ ${ENV} true
bash: AA=aa: command not found
$ "${ENV}" true
bash: AA=aa: command not found
$ env ${ENV} true
```
Gbp-Dch: Short
Diffstat (limited to 'scripts/build/chroot_dpkg')
0 files changed, 0 insertions, 0 deletions