Skip to content

Commit a094296

Browse files
committed
don't use egrep, we don't need it
1 parent 2f1fa12 commit a094296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustup-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ echo "$NEW_COMMIT" > rust-version
3333
shift || true # don't fail if shifting fails
3434

3535
# Check if we already are at that commit.
36-
CUR_COMMIT=$(rustc +miri --version -v 2>/dev/null | egrep "^commit-hash: " | cut -d " " -f 2)
36+
CUR_COMMIT=$(rustc +miri --version -v 2>/dev/null | grep "^commit-hash: " | cut -d " " -f 2)
3737
if [[ "$CUR_COMMIT" == "$NEW_COMMIT" ]]; then
3838
echo "miri toolchain is already at commit $CUR_COMMIT."
3939
rustup override set miri

0 commit comments

Comments
 (0)