herdsman pushed a commit to branch master.

http://git.enlightenment.org/tools/exactness.git/commit/?id=365630b8db0df938fa090e14732fb64bfac26f7d

commit 365630b8db0df938fa090e14732fb64bfac26f7d
Author: Daniel Hirt <daniel.h...@samsung.com>
Date:   Wed Jul 13 16:25:39 2016 +0000

    Use correct output dir for reports
    
    Not really sure if it needs to generate reports on 'init' mode, but at 
least now
    it will be in the correct directory.
---
 src/bin/exactness.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/exactness.c b/src/bin/exactness.c
index da4c36f..2e60eab 100644
--- a/src/bin/exactness.c
+++ b/src/bin/exactness.c
@@ -196,7 +196,7 @@ main(int argc, char *argv[])
         /* Generate the filename. */
         snprintf(report_filename, EXACTNESS_PATH_MAX,
               "%s/%s/errors.html",
-              exactness_config.dest_dir, CURRENT_SUBDIR);
+              exactness_config.dest_dir, mode_init ? ORIG_SUBDIR : 
CURRENT_SUBDIR);
         report_file = fopen(report_filename, "w+");
         if (report_file)
           {

-- 


Reply via email to