We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a1ddb3 commit ebac227Copy full SHA for ebac227
.github/workflows/test.yml
@@ -121,9 +121,11 @@ jobs:
121
122
- name: 'HACK: patch rustc_arch.sh script (within docker)'
123
run: |
124
- arch=$(rustc -vV | sed -e 's/host: \(.*\)$/\1/')
+ arch=$(rustc -vV | sed -n -e 's/host: \(.*\)$/\1/p')
125
docker exec --user user mir-smir-ci-${GITHUB_SHA} \
126
- bash -c "echo 'echo $arch' > deps/smir_pretty/rustc_arch.sh"
+ bash -c "printf '#!/bin/sh\necho \"$arch\"\n' > deps/smir_pretty/rustc_arch.sh"
127
+ docker exec --user user mir-smir-ci-${GITHUB_SHA} \
128
+ cat deps/smir_pretty/rustc_arch.sh
129
130
deps/smir_pretty/rustc_arch.sh
131
0 commit comments