Skip to content

Commit

Permalink
start.sh for masters no longer CDs to where master.cfg
Browse files Browse the repository at this point in the history
Instead only cd to base srcdir.

This will allow all relative imports to work accordingly.
  • Loading branch information
cvicentiu committed Feb 5, 2025
1 parent e71fdaa commit 7216b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ err() {
}

# Make sure to pass the master name as the first argument
cd "/srv/buildbot/master/$1" || err "cd /srv/buildbot/master/$1"
cd "/srv/buildbot/master/" || err "cd /srv/buildbot/master/"

# shellcheck disable=SC2226
[[ -f master-private.cfg ]] || ln -s ../master-private.cfg
Expand Down Expand Up @@ -41,4 +41,4 @@ fi
# loop for debug
# while true; do date && sleep 30; done

exec buildbot start --nodaemon
exec buildbot start "$1/master.cfg" --nodaemon

0 comments on commit 7216b4f

Please sign in to comment.