X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=bootstrap.sh;h=05ac0ce2f306fc4bcf4802242017887b31f8ca9e;hb=cbd568083d87a90dfe5ab0e90f404454946c9f20;hp=ae37b043c05567b1fd250f8035bec80275d5613b;hpb=2fbdedbf2fbf89bb00743e85c3b19cb765d6c1ad;p=rust.git diff --git a/bootstrap.sh b/bootstrap.sh index ae37b043c05..05ac0ce2f30 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -6,12 +6,12 @@ cargo build --release -target/release/rustfmt --write-mode=overwrite src/lib.rs -target/release/rustfmt --write-mode=overwrite src/bin/main.rs -target/release/rustfmt --write-mode=overwrite src/cargo-fmt/main.rs +target/release/rustfmt src/lib.rs +target/release/rustfmt src/bin/main.rs +target/release/rustfmt src/cargo-fmt/main.rs for filename in tests/target/*.rs; do if ! grep -q "rustfmt-" "$filename"; then - target/release/rustfmt --write-mode=overwrite $filename + target/release/rustfmt $filename fi done