From 56038674b18c0fbdf34a53ab23e7f71ff0c24e75 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 4 May 2015 10:28:24 +0100 Subject: [PATCH] enable weave script debugging with WEAVE_DEBUG Closes #618 --- weave | 3 +++ 1 file changed, 3 insertions(+) diff --git a/weave b/weave index 1c03aa24..39b17fb7 100755 --- a/weave +++ b/weave @@ -1,6 +1,8 @@ #!/bin/sh set -e +[ -n "$WEAVE_DEBUG" ] && set -x + SCRIPT_VERSION="(unreleased version)" if [ "$SCRIPT_VERSION" = "(unreleased version)" ] ; then IMAGE_VERSION=latest @@ -46,6 +48,7 @@ exec_remote() { -v /proc:/hostproc \ -e PROCFS=/hostproc \ -e VERSION \ + -e WEAVE_DEBUG \ -e WEAVE_DOCKER_ARGS \ -e WEAVEDNS_DOCKER_ARGS \ -e WEAVE_PASSWORD \