Skip to content

Commit 1615b61

Browse files
committed
Update hash-files.simba
1 parent 3d59c7e commit 1615b61

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/hash-files.simba

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ begin
1717
if SKIP.Contains(files[i]) then Continue;
1818

1919
hash := HashFile(EHashAlgo.MD5, files[i]);
20-
FileDelete(filename + '.hash');
21-
FileWrite(filename + '.hash', hash);
20+
FileDelete(files[i] + '.hash');
21+
FileWrite(files[i] + '.hash', hash);
22+
WriteLn('File: ', PathExtractName(files[i]), ' Hash: ', hash);
2223
end;
2324
end.

0 commit comments

Comments
 (0)