mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
build.sh: fix quoting of combined "..." and '...' shell blocks
Though really wish for a simple way to make a single block here.
This commit is contained in:
parent
74fd692a6d
commit
3d5403249f
@ -138,11 +138,12 @@ docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "
|
|||||||
#
|
#
|
||||||
# * Check that the snapshot is valid
|
# * Check that the snapshot is valid
|
||||||
# * Fetch and unpack all needed tarballs (the build step does not have write access to the tarball directory)
|
# * Fetch and unpack all needed tarballs (the build step does not have write access to the tarball directory)
|
||||||
GHCVER=$(sed -n 's/^ghc-version: \(.*\)/\1/p' constraints.yaml)
|
"'
|
||||||
|
GHCVER=$(sed -n "s/^ghc-version: \(.*\)/\1/p" constraints.yaml)
|
||||||
stack setup ghc-$GHCVER --verbosity=error
|
stack setup ghc-$GHCVER --verbosity=error
|
||||||
stack exec --resolver=ghc-$GHCVER curator check-snapshot
|
stack exec --resolver=ghc-$GHCVER curator check-snapshot
|
||||||
curator unpack
|
curator unpack
|
||||||
"
|
'
|
||||||
|
|
||||||
case $SHORTNAME in
|
case $SHORTNAME in
|
||||||
lts) JOBS=16 ;;
|
lts) JOBS=16 ;;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user