File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed
Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/bash
22
33set -ex
44
@@ -26,6 +26,7 @@ echo "Install Rustup using ./rustup-init.sh"
2626
2727sh rustup-init.sh --default-toolchain=stable --profile=minimal -y
2828# It's the equivalent of `source`
29+ # shellcheck source=src/cli/self_update/env.sh
2930source " $HOME " /.cargo/env
3031
3132echo " ========="
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33script_dir=$( cd " $( dirname " $0 " ) " && pwd)
4+ # shellcheck source=ci/shared.bash
45. " $script_dir /shared.bash"
56
67set -e
Original file line number Diff line number Diff line change 33set -ex
44
55sh ./rustup-init.sh --default-toolchain none -y
6+ # shellcheck source=/dev/null
67. " $HOME " /.cargo/env
78rustup -Vv
Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ check_help_for() {
597597 esac
598598
599599 for _arg in " $@ " ; do
600- if ! " $_cmd " --help $_category | grep -q -- " $_arg " ; then
600+ if ! " $_cmd " --help " $_category " | grep -q -- " $_arg " ; then
601601 return 1
602602 fi
603603 done
You can’t perform that action at this time.
0 commit comments