[cheese] Fix find usage on FreeBSD and POSIX, bug 724091



commit 29340e35939c07fafd803648b504e95e143038c4
Author: Ting-Wei Lan <lantw44 gmail com>
Date:   Tue Feb 11 09:12:35 2014 +0000

    Fix find usage on FreeBSD and POSIX, bug 724091
    
    POSIX find requires a path as an argument.

 Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 4cf4d06..acdbcde 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -437,14 +437,14 @@ lcov: full-report
 lcov-clean:
        $(AM_V_at)$(LCOV) --directory $(top_builddir) -z
        $(AM_V_at)rm -rf cheese-lcov.info cheese-lcov
-       $(AM_V_at)find -name '*.gcda' -exec rm -f {} +
+       $(AM_V_at)find . -name '*.gcda' -exec rm -f {} +
 else # !CHEESE_ENABLE_LCOV
 lcov:
        $(AM_V_at)echo "Code coverage reporting not available"
 
 lcov-clean:
        $(AM_V_at)rm -rf cheese-lcov.info cheese-lcov
-       $(AM_V_at)find -name '*.gcda' -exec rm -f {} +
+       $(AM_V_at)find . -name '*.gcda' -exec rm -f {} +
 endif
 
 # gtk-doc
@@ -459,7 +459,7 @@ check-local: test
        cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFlAGS) check
 clean-local: lcov-clean
        cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) clean
-       find -name '*.gcno' -exec rm -f {} +
+       find . -name '*.gcno' -exec rm -f {} +
 distclean-local:
        cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) distclean
 docs: $(lib_LTLIBRARIES)


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