POSIX: Unifying checking for ".gz" and ".orig" variants

This commit is contained in:
Will Bainbridge
2018-07-08 10:45:00 +01:00
parent a9cdfa0f4e
commit 9d185f2cb1
17 changed files with 293 additions and 220 deletions

View File

@ -887,7 +887,7 @@ int main(int argc, char *argv[])
Info<< "Reading commands from file " << batchFile << endl;
// we cannot handle .gz files
if (!isFile(batchFile, false))
if (!isFile(batchFile, false, false))
{
FatalErrorInFunction
<< "Cannot open file " << batchFile << exit(FatalError);