about summary refs log tree commit diff
path: root/pkgs/tools/misc/findutils-static/findutils-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/findutils-static/findutils-path.patch')
-rw-r--r--pkgs/tools/misc/findutils-static/findutils-path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/tools/misc/findutils-static/findutils-path.patch b/pkgs/tools/misc/findutils-static/findutils-path.patch
new file mode 100644
index 000000000000..be8d85be3033
--- /dev/null
+++ b/pkgs/tools/misc/findutils-static/findutils-path.patch
@@ -0,0 +1,12 @@
+diff -ruN findutils-4.2.20/locate/updatedb.sh findutils-4.2.20.new/locate/updatedb.sh
+--- findutils-4.2.20/locate/updatedb.sh	2005-01-24 17:12:35.000000000 +0100
++++ findutils-4.2.20.new/locate/updatedb.sh	2005-08-23 14:37:10.000000000 +0200
+@@ -141,7 +141,7 @@
+ : ${code:=${LIBEXECDIR}/@code@}
+ 
+ 
+-PATH=/bin:/usr/bin:${BINDIR}; export PATH
++PATH=/bin:/usr/bin:${BINDIR}:${PATH}; export PATH
+ 
+ : ${PRUNEFS="nfs NFS proc afs proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs"}
+