build.sh: use separate bindir for nightly and lts

This avoids a dir race if both are started at the same time
This commit is contained in:
Jens Petersen 2026-03-29 13:08:36 +08:00
parent 2ebfaade41
commit 3d08e4dc11

View File

@ -74,8 +74,8 @@ function require_400_file {
require_400_file "$SSH_DIR/id_rsa"
require_400_file "$HACKAGE_CREDS"
mkdir -p $ROOT/work/bin
BINDIR=$(cd $ROOT/work/bin ; pwd)
mkdir -p $WORKDIR/bin
BINDIR=$(cd $WORKDIR/bin ; pwd)
(
cd $BINDIR
rm -f curator stack -- *.bz2