]> git.lizzy.rs Git - rust.git/blobdiff - bootstrap.sh
Fix rustfmt
[rust.git] / bootstrap.sh
index ae37b043c05567b1fd250f8035bec80275d5613b..05ac0ce2f306fc4bcf4802242017887b31f8ca9e 100755 (executable)
@@ -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