diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-04 14:09:00 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-04 14:09:00 +0200 |
commit | 95b5a8b022c32504c02a46002e5c6db59abea9d8 (patch) | |
tree | 09d84d099c9e57ed1939b4351c5a3e6cd726bfd7 /buildbot | |
parent | 8315f67f825f47c882bc1aa40e23f1e48d9d1290 (diff) | |
download | deployment-95b5a8b022c32504c02a46002e5c6db59abea9d8.tar.gz deployment-95b5a8b022c32504c02a46002e5c6db59abea9d8.tar.bz2 deployment-95b5a8b022c32504c02a46002e5c6db59abea9d8.zip |
debug
Diffstat (limited to 'buildbot')
-rwxr-xr-x | buildbot/build.sh | 7 |
1 files changed, 6 insertions, 1 deletions
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 |