Skip to content

Commit 6d9ec61

Browse files
committed
run script from correct path
1 parent c877ffe commit 6d9ec61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/msrv.sh

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
1616
# Path to the configuration file
1717
CONFIG_FILE="$SCRIPT_DIR/msrv_config.json"
1818

19+
# Change to the root directory of the repository
20+
cd "$SCRIPT_DIR/.."
21+
1922
# function to check if specified toolchain is installed
2023
check_rust_toolchain_installed() {
2124
local version=$1
@@ -43,6 +46,8 @@ else
4346
exit 1
4447
fi
4548

49+
echo "checking packages: "$packages
50+
echo
4651
# Check MSRV for the packages
4752
for package in $packages; do
4853
echo "Running msrv check for $package with Rust $installed_version"

0 commit comments

Comments
 (0)