Commit 8a2ff7c
authored
### Rationale for this change
shellcheck outputs the following error in `ci/scripts/install_ccache.sh`.
```
In ci/scripts/install_ccache.sh line 35:
curl --fail --location --remote-name ${url}
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
curl --fail --location --remote-name "${url}"
In ci/scripts/install_ccache.sh line 36:
unzip -j ccache-${version}-windows-x86_64.zip
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
unzip -j ccache-"${version}"-windows-x86_64.zip
In ci/scripts/install_ccache.sh line 38:
mv ccache.exe ${prefix}/bin/
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mv ccache.exe "${prefix}"/bin/
In ci/scripts/install_ccache.sh line 44:
wget -q ${url} -O - | tar -xzf - --directory /tmp/ccache --strip-components=1
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
wget -q "${url}" -O - | tar -xzf - --directory /tmp/ccache --strip-components=1
```
### What changes are included in this PR?
Fix shellcheck error. (Quote variables)
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #46490
Authored-by: Hiroyuki Sato <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
1 parent f4d52af commit 8a2ff7c
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments