[gegl] operation-reference: exclude ~ backup files when looking for source



commit 2c7f2adbeb472b267e9beeb7a260f6e1dc69d294
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Nov 22 21:07:43 2015 +0100

    operation-reference: exclude ~ backup files when looking for source

 tools/operation_reference.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/operation_reference.c b/tools/operation_reference.c
index 68942c1..d4f56c6 100644
--- a/tools/operation_reference.c
+++ b/tools/operation_reference.c
@@ -428,7 +428,7 @@ main (gint argc, gchar **argv)
 
       {
         gchar *commandline = g_strdup_printf (
-            "sh -c \"(cd " TOP_SRCDIR ";grep -r '\\\"%s\\\"' operations) | grep operations | grep 
'\\\"name\\\"' | cut -f 1 -d ':'\"",
+            "sh -c \"(cd " TOP_SRCDIR ";grep -r '\\\"%s\\\"' operations) | grep operations | grep -v '~:' | 
grep '\\\"name\\\"' | cut -f 1 -d ':'\"",
              name);
         gchar *output = NULL;
         


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