index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-23 15:58:56 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-23 15:58:56 +0100 |
commit | 2b25805e7b1e570cd31cd94d0f4a4d075d4a22a2 (patch) | |
tree | d5b03ecc237be0ad3f60137a5e8ea0536d7e93ad /bin/build-packages | |
parent | 8510c3276e98b7d6b4ddeddf099c013f088898f2 (diff) |
-rwxr-xr-x | bin/build-packages | 6 |
diff --git a/bin/build-packages b/bin/build-packages index 16521c9..be6bf16 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -1105,4 +1105,10 @@ while [ "${count}" -ne 0 ] && \ done +# remove the slave switch file if it exists (and if we are runnig on a slave) +if ! ${i_am_the_master}; then + SLAVE=$(whoami) + [ -f "/tmp/do-not-run-build-slave.$SLAVE" ] && rm "/tmp/do-not-run-build-slave.$SLAVE" +fi + >&2 echo 'Done.' |