aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client')
-rw-r--r--azalea-client/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/build.rs b/azalea-client/build.rs
index 156f73a6..7f18092d 100644
--- a/azalea-client/build.rs
+++ b/azalea-client/build.rs
@@ -41,7 +41,7 @@ fn main() {
let mod_rs_path = Path::new("tests/simulation/mod.rs");
let existing_mod_rs = fs::read_to_string(mod_rs_path).unwrap_or_default();
- if mod_rs == existing_mod_rs {
+ if mod_rs.trim() == existing_mod_rs.trim() {
// this would cause the build script to run again
return;
}