aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pyfind/files/patch-pyFind::match_files.py
blob: 62442b7f73ee2bff1483dad23bf94c09c32c65c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$FreeBSD$

--- pyFind/match_files.py.orig	Sat Mar 31 01:48:01 2001
+++ pyFind/match_files.py	Thu Apr  5 12:25:04 2001
@@ -97,6 +97,10 @@
     #pclsApp.clstFiles.freeze() 
     pclsApp.apbMain.set_progress(iProgress)
 
+    #search mounted volumes?
+    if not pbSearchMounted:
+         psSearchPath = '-x ' + psSearchPath
+
     #case sensitive file name search
     if pbCaseSensitive:
         sParam = ' -name "' #yes
@@ -126,10 +130,6 @@
     #output to command line
     sFindCmd = sFindCmd + ' -print'
     
-    #search mounted volumes?
-    if not pbSearchMounted:
-         sFindCmd = sFindCmd + ' -mount'
-
     #search contents?
     if pbSearchContents:       
         #case-sensitive contents