[gnome-builder] flatpak: ignore .flatpak-builder/ when searching for manifests



commit d1a870d3695c2caa600bc0b220b0ab1a37a84f0b
Author: Matthew Leeds <mleeds redhat com>
Date:   Sat Feb 18 23:55:59 2017 -0600

    flatpak: ignore .flatpak-builder/ when searching for manifests

 .../flatpak/gbp-flatpak-configuration-provider.c   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-configuration-provider.c 
b/plugins/flatpak/gbp-flatpak-configuration-provider.c
index 517c49f..4a0cc5b 100644
--- a/plugins/flatpak/gbp-flatpak-configuration-provider.c
+++ b/plugins/flatpak/gbp-flatpak-configuration-provider.c
@@ -735,7 +735,7 @@ check_dir_for_manifests (GFile         *directory,
 
       if (file_type == G_FILE_TYPE_DIRECTORY)
         {
-          if (g_strcmp0 (name, ".git") == 0)
+          if (g_strcmp0 (name, ".git") == 0 || g_strcmp0 (name, ".flatpak-builder") == 0)
             continue;
           else if (!check_dir_for_manifests (file, manifests, cancellable, error))
             return FALSE;


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