All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 4cff2ee5 authored by Mike Hibler's avatar Mike Hibler

Make sure mtime is correct on any generated .sha1 file.

parent 41f7c387
......@@ -407,6 +407,7 @@ sub createfull($$$)
if (open(FD, ">$shafile")) {
print FD "$hash\n";
close(FD);
system("touch -r $file $shafile");
}
} else {
print("$iname: WARNING: could not generate or parse SHA1 hash of '$file'\n");
......@@ -593,6 +594,7 @@ sub createdelta($$$)
if (open(FD, ">$shafile")) {
print FD "$hash\n";
close(FD);
system("touch -r $dfile $shafile");
}
} else {
print("$iname: WARNING: could not generate or parse SHA1 hash of '$dfile'\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment