aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pyfind/files/patch-pyFind::match_files.py
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/pyfind/files/patch-pyFind::match_files.py')
-rw-r--r--sysutils/pyfind/files/patch-pyFind::match_files.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/pyfind/files/patch-pyFind::match_files.py b/sysutils/pyfind/files/patch-pyFind::match_files.py
new file mode 100644
index 000000000000..62442b7f73ee
--- /dev/null
+++ b/sysutils/pyfind/files/patch-pyFind::match_files.py
@@ -0,0 +1,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