Skip to content

Commit

Permalink
Under anything bug Windows, use unzip instead of 7z.
Browse files Browse the repository at this point in the history
  • Loading branch information
cxbrooks committed Dec 24, 2014
1 parent 2db09ab commit c345e7e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fmu10/src/shared/sim_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@
* Copyright QTronic GmbH. All rights reserved.
* -------------------------------------------------------------------------*/

#if WINDOWS
// Used 7z options, version 4.57:
// -x Extracts files from an archive with their full paths in the current dir, or in an output dir if specified
// -aoa Overwrite All existing files without prompt
// -o Specifies a destination directory where files are to be extracted
#define UNZIP_CMD "7z x -aoa -o"
#else
// -o Overwrite existing files without prompting
// -d The directory in which to write files.
#define UNZIP_CMD "unzip -o -d "
#endif
#define XML_FILE "modelDescription.xml"
#define RESULT_FILE "result.csv"
#define BUFSIZE 4096
Expand Down

0 comments on commit c345e7e

Please sign in to comment.