From 3d5403249f2954656abe9175cc24d8ddf778ea66 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 20 Oct 2024 17:29:48 +0800 Subject: [PATCH] build.sh: fix quoting of combined "..." and '...' shell blocks Though really wish for a simple way to make a single block here. --- automated/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automated/build.sh b/automated/build.sh index 44ebc385..8b380e2f 100755 --- a/automated/build.sh +++ b/automated/build.sh @@ -138,11 +138,12 @@ docker run $ARGS_PREBUILD $IMAGE /bin/bash -c " # # * Check that the snapshot is valid # * 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 exec --resolver=ghc-$GHCVER curator check-snapshot curator unpack - " + ' case $SHORTNAME in lts) JOBS=16 ;;