ports/sysutils/pyfind/files/patch-pyFind::match_files.py
2001-04-18 19:15:32 +00:00

27 lines
711 B
Python

$FreeBSD$
--- pyFind/match_files.py.orig Tue Apr 17 18:00:00 2001
+++ pyFind/match_files.py Wed Apr 18 21:56:29 2001
@@ -113,6 +113,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
@@ -142,10 +146,6 @@
#output to command line
sFindCmd = sFindCmd + " -print"
- #search mounted volumes?
- if not pbSearchMounted:
- sFindCmd = sFindCmd + " -mount"
-
#search contents?
if pbSearchContents:
#case-sensitive contents