You've already forked AstralRinth
forked from didirus/AstralRinth
Use correct .git path in build.rs (#4145)
This commit is contained in:
committed by
GitHub
parent
3b8cd661bc
commit
544f63512a
@@ -14,7 +14,7 @@ fn main() {
|
||||
let git_hash = String::from_utf8(output.stdout)
|
||||
.expect("valid UTF-8 output from `git` invocation");
|
||||
|
||||
println!("cargo::rerun-if-changed=.git/HEAD");
|
||||
println!("cargo::rerun-if-changed=../../.git/HEAD");
|
||||
println!("cargo::rustc-env=GIT_HASH={}", git_hash.trim());
|
||||
|
||||
let timedate_fmt = Local::now().format("%F @ %I:%M %p");
|
||||
|
||||
Reference in New Issue
Block a user