fix hash file list, exclude hash list
parent
728bc6457a
commit
1fd7baea4c
|
|
@ -79,6 +79,11 @@ std::string IntegretyCheck::generateHashList(const std::string &app) {
|
|||
if (f.is_directory()) {
|
||||
// skip directory, iterator is recursive
|
||||
} else {
|
||||
// skip may already existing hash file
|
||||
const std::string filename = f.path().filename().string();
|
||||
if (filename == HASH_FILE) {
|
||||
continue;
|
||||
}
|
||||
// strip appPath
|
||||
std::string filepath = f.path().string();
|
||||
filepath.erase(0, p.size() + 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue