Commit 5fa98016 authored by Adam Goins's avatar Adam Goins Committed by Makayla Shepherd
Browse files

Modified the ControlNetVersioner to omit the version number when running the...

Modified the ControlNetVersioner to omit the version number when running the diff command (It will upgrade VXXXX to the latest version).
parent 35c16594
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ void TestNetwork(const QString &filename, bool printNetwork, bool pvlInput) {
      cNet2->write( FileName("./tmpCNet2") );

      //if there are differences between the pvls.
      QString cmd = "diff -EbB --suppress-common-lines " + networkFileName.expanded() + " ./tmp.pvl";
      QString cmd = "diff -EbB --suppress-common-lines -I 'Version.*' " + networkFileName.expanded() + " ./tmp.pvl";
      if(system(cmd.toStdString().c_str())) {

        //if the binary files are different.