From 95b5a8b022c32504c02a46002e5c6db59abea9d8 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 4 Jun 2019 14:09:00 +0200 Subject: debug --- buildbot/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'buildbot') diff --git a/buildbot/build.sh b/buildbot/build.sh index 382c2fc..f3f891a 100755 --- a/buildbot/build.sh +++ b/buildbot/build.sh @@ -1,6 +1,11 @@ #!/bin/bash -if test "$(whoami)" = "$(cat /home/test/active)"; then +WHOAMI="$(whoami)" +ACTIVE_COLOR="$(cat /home/test/active)" + +echo "whoami: $WHOAMI, active color: $ACTIVE_COLOR" + +if test $WHOAMI = $ACTIVE_COLOR; then echo "I'm the active color, no need to compile and switch!" exit 0 fi -- cgit v1.2.3