diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-13 03:50:24 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-13 03:50:24 (EST) |
commit | 399a3e2a4710fb8ad8e19024e1fc867c6054384f (patch) | |
tree | c6425d930f86de5a628d21d48bc57ef0b3a74d2a /src/cmd | |
parent | 3fa116392979a705a544fb255a708022d2651372 (diff) |
cmd/build: Fix AND-OR list logic
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmd/build.sh b/src/cmd/build.sh index 0b2c519..399a349 100644 --- a/src/cmd/build.sh +++ b/src/cmd/build.sh @@ -154,8 +154,10 @@ _cmd_build_build() fi fi - ${log} && _cmd_build_header '-' 'Installed Packages' - ${log} && session_exec opkg list-installed || es=${?} + if ${log}; then + _cmd_build_header '-' 'Installed Packages' + session_exec opkg list-installed || es=${?} + fi ${log} && _cmd_build_header '-' 'Build' if [ ${es} -eq 0 ]; then |