From 87b0e08a4f0f8369906fd9a79d2678461ecf04b7 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <himself@claus-justus-heine.de>
Date: Mon, 27 Apr 2015 09:29:28 +0200
Subject: [PATCH] Fix broken usage of find.

Although GNU find may allow to omit the directory
argument, an ordinary (e.g. BSD) find does not.
---
 bin/dunecontrol | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/dunecontrol b/bin/dunecontrol
index 24ba0cb73..b8d222a97 100755
--- a/bin/dunecontrol
+++ b/bin/dunecontrol
@@ -716,7 +716,7 @@ run_default_configure () {
       SRCDIR="$PWD"
       cd "$ABS_BUILDDIR"
       # check for libtool libs, which might break modules depending on this module
-      test -n "`find -name \*.la`" && \
+      test -n "`find . -name \*.la`" && \
           echo "Error: your build directory $ABS_BUILDDIR contains libtool built libraries, please cleanup" && \
           exit 1
       echo "$PREPARAMS $CMAKE -DCMAKE_MODULE_PATH=\"$CMAKE_MODULE_PATH\" $CMAKE_PARAMS $CMAKE_FLAGS \"$SRCDIR\""
-- 
GitLab