Fix shellcheck warnings in shell scripts.
This commit is contained in:
@@ -3,7 +3,8 @@ set -euo pipefail
|
||||
|
||||
# Format all sources using rustfmt.
|
||||
|
||||
cd $(dirname "$0")
|
||||
topdir=$(dirname "$0")
|
||||
cd "$topdir"
|
||||
|
||||
# Make sure we can find rustfmt.
|
||||
export PATH="$PATH:$HOME/.cargo/bin"
|
||||
|
||||
Reference in New Issue
Block a user