Create worker parente directory if it doesn't exist

This commit is contained in:
Peter Šurda 2024-03-03 23:39:16 +08:00
parent 7a0392ec76
commit ae9f18c287
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95

View File

@ -1,5 +1,6 @@
#!/bin/bash
[ -d /var/lib/buildbot/workers ] || mkdir /var/lib/buildbot/workers
buildbot-worker create-worker --use-tls /var/lib/buildbot/workers/default "$1" "$2" "$3"