Skip to content

Commit bb3bac0

Browse files
committed
Auto merge of #2544 - saethlin:egrep, r=saethlin
Don't use egrep, we don't need it As of a few days ago, the latest version of `egrep` is now this: ```sh #!/bin/sh cmd=${0##*/} echo "$cmd: warning: $cmd is obsolescent; using grep -E" >&2 exec grep -E "$`@"` ``` Fortunately we don't actually need ERE, so we can just drop the e.
2 parents 2f1fa12 + a094296 commit bb3bac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustup-toolchain

+1-1
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)