summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/windows/build/bkw.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/build/bkw.pl b/src/windows/build/bkw.pl
index f397654a7d..8b8b1ab6fe 100644
--- a/src/windows/build/bkw.pl
+++ b/src/windows/build/bkw.pl
@@ -252,7 +252,7 @@ sub main {
$ENV{PATH} = $unixfind.";".$savedPATH;
print "Info -- chdir to ".`cd`."\n" if ($verbose);
if (-e "a.tmp") {!system("rm a.tmp") or die "Fatal -- Couldn't clean temporary file a.tmp.";}
- !system("find . -name a.tmp > b.tmp 2>&1") or die "Fatal -- find test failed.";
+ !system("find . -maxdepth 0 -name a.tmp > b.tmp 2>&1") or die "Fatal -- find test failed.";
local $filesize = -s "b.tmp";
$ENV{PATH} = $savedPATH;
if ($filesize > 0) {