X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=bootstrap.sh;h=05ac0ce2f306fc4bcf4802242017887b31f8ca9e;hb=2323cbc2311d2b907b62d5dc58970756bfb3cbc0;hp=ae37b043c05567b1fd250f8035bec80275d5613b;hpb=a76d9b529a75780690aa0978471f18da81676dd4;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