mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-03-31 13:29:49 +02:00
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:
parent
2ebfaade41
commit
3d08e4dc11
@ -74,8 +74,8 @@ function require_400_file {
|
|||||||
require_400_file "$SSH_DIR/id_rsa"
|
require_400_file "$SSH_DIR/id_rsa"
|
||||||
require_400_file "$HACKAGE_CREDS"
|
require_400_file "$HACKAGE_CREDS"
|
||||||
|
|
||||||
mkdir -p $ROOT/work/bin
|
mkdir -p $WORKDIR/bin
|
||||||
BINDIR=$(cd $ROOT/work/bin ; pwd)
|
BINDIR=$(cd $WORKDIR/bin ; pwd)
|
||||||
(
|
(
|
||||||
cd $BINDIR
|
cd $BINDIR
|
||||||
rm -f curator stack -- *.bz2
|
rm -f curator stack -- *.bz2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user