Skip to content

Commit

Permalink
buildtypes/meson.sh.in: Work around environment variable setting
Browse files Browse the repository at this point in the history
The function `start_cmd()` in the bee shell runs "{@}" causing the
setting of the environment variable to be executed, which is of course
not found.

```
function start_cmd() {
    print_info "${COLOR_CYAN}${@}"
    "${@}"
}
```

Work around it, by setting the environment variable `DESTDIR` outside.
  • Loading branch information
pmenzel committed Jan 16, 2018
1 parent 3f7924c commit df90cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildtypes/meson.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ bee_build() {
#### bee_install() ############################################################

bee_install() {
start_cmd DESTDIR=${D} ninja -C ${B} install "${@}"
DESTDIR=${D} start_cmd ninja -C ${B} install "${@}"
}

0 comments on commit df90cd2

Please sign in to comment.