aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pyfind/files/patch-pyFind::match_files.py
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-04-05 09:37:44 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-04-05 09:37:44 +0000
commit43dbf45af894f87b5c2335c04f565e2cb2ad882b (patch)
treeefc297d8d06604556cc94383babc4c05121a3131 /sysutils/pyfind/files/patch-pyFind::match_files.py
parentf79e81235aeb8c73c250749cc837dcff21c65f25 (diff)
Add pyfind 0.7.0, a file-find utilty for Gnome loosely modeled after similar
Windoze utilty.
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