about summary refs log tree commit diff
path: root/xlocate
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-11-17 15:13:29 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-11-17 15:13:29 +0100
commitceb7098a3a088cdf20d1da74240d47e426db8859 (patch)
tree0a1c47a5e8eabb0aeaa1636ab0442938c51fc1a5 /xlocate
parent71b70720c1f34d9a8cc50206b2a40f1d7d44dbeb (diff)
downloadxtools-ceb7098a3a088cdf20d1da74240d47e426db8859.tar.gz
xtools-ceb7098a3a088cdf20d1da74240d47e426db8859.tar.xz
xtools-ceb7098a3a088cdf20d1da74240d47e426db8859.zip
xlocate: force using glocate from findutils. v0.31
Diffstat (limited to 'xlocate')
-rwxr-xr-xxlocate2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlocate b/xlocate
index e34bda3..85513a8 100755
--- a/xlocate
+++ b/xlocate
@@ -25,7 +25,7 @@ if [ -e "$XLOCATE_DB" ]; then
 		*[*+\\\[\]^$]*) rx=-r;;
 	esac
 	# XXX also matches template in package name.
-	locate $rx -d "$XLOCATE_DB" "$1" |
+	glocate $rx -d "$XLOCATE_DB" "$1" |
 		sed 's|^\([^/]*\)-[^-/]*/|\1\t/|'
 else
 	xbps-query --regex -Ro "$@" |