Skip to content

Commit

Permalink
Merge pull request #169 from OlegGirko/fix_lxc_docker_logging
Browse files Browse the repository at this point in the history
Fix logging for building with lxc and docker.
  • Loading branch information
adrianschroeter committed May 2, 2015
2 parents 6f69593 + c1ccc1f commit 5bc2d9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -983,8 +983,10 @@ if test -w /root ; then
fi

if test -z "$VM_IMAGE" -a -z "$LOGFILE" ; then
# lxc and docker are special cases: virtual machine shares logfile with host
if test -z "$RUNNING_IN_VM"; then
LOGFILE="$BUILD_ROOT/.build.log"
else
# lxc and docker are special cases: vm shares logfile with host
case "$VM_TYPE" in
lxc|docker)
;;
Expand Down

0 comments on commit 5bc2d9a

Please sign in to comment.