[anjuta] build-basic-autotools: bgo #727633 - Remove Configuration always fails when Run Several Commands at



commit 22f29029af5272a2b5f8e43c9459d1c60098d933
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sun Apr 20 16:30:07 2014 +0200

    build-basic-autotools: bgo #727633 - Remove Configuration always fails when Run Several Commands at a 
Time preference is set

 plugins/build-basic-autotools/build.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/build-basic-autotools/build.c b/plugins/build-basic-autotools/build.c
index fba25c2..380a045 100644
--- a/plugins/build-basic-autotools/build.c
+++ b/plugins/build-basic-autotools/build.c
@@ -512,7 +512,7 @@ build_save_distclean_and_execute_command (BasicAutotoolsPlugin* bplugin, BuildPr
 
        context = build_get_context (bplugin, prog->work_dir, with_view, FALSE);
        root_path = g_file_get_path (bplugin->project_root_dir);
-       same = strcmp (prog->work_dir, root_path) != 0;
+       same = strcmp (prog->work_dir, root_path) == 0;
        g_free (root_path);
 
        config = build_configuration_list_get_selected (bplugin->configurations);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]