Added the possibility of specifying worker path on the command line for the restart-workers script

- Legacy-Id: 17662
This commit is contained in:
buildbot 2020-04-20 12:53:18 +00:00
parent dcc083633b
commit e9b2ecd59e

View file

@ -1,3 +1,3 @@
#!/bin/bash
for d in workers/*; do ( cd $d; . env/bin/activate; buildbot-worker restart; ); done
for d in ${1:-workers/*}; do ( cd $d; . env/bin/activate; buildbot-worker restart; ); done