mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Fix daml-sdk-head --damlc (#6540)
We don’t want to pass all flags as a single string. If we don’t have any flags (which is the default) we end up passing an empty string which breaks Bazel. changelog_begin changelog_end
This commit is contained in:
parent
7f7eaa35e7
commit
a0a1f90087
@ -80,7 +80,7 @@ if [[ -d "$DAML_HEAD_SDK" && "$JUST_DAMLC" -ne 0 ]]; then
|
||||
|
||||
bazel build ${BAZEL_MODE_FLAGS[@]:-} //compiler/damlc:damlc-dist.tar.gz
|
||||
|
||||
readonly TARBALL="$(bazel info bazel-bin "${BAZEL_MODE_FLAGS[@]:-}")/compiler/damlc/damlc-dist.tar.gz"
|
||||
readonly TARBALL="$(bazel info bazel-bin ${BAZEL_MODE_FLAGS[@]:-})/compiler/damlc/damlc-dist.tar.gz"
|
||||
chmod -R u+w "$DAML_HEAD_SDK"
|
||||
rm -rf "${DAML_HEAD_SDK}/damlc"
|
||||
mkdir -p "${DAML_HEAD_SDK}/damlc"
|
||||
|
Loading…
Reference in New Issue
Block a user