summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxlocate2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlocate b/xlocate
index 2db7d72..162dbbd 100755
--- a/xlocate
+++ b/xlocate
@@ -21,7 +21,7 @@ xupdatedb() {
 xupdategit() {
 	set -e
 	DIR=$(mktemp -dt xlocate.XXXXXX)
-	DIR=$(realpath -e "$DIR")
+	DIR=$(/usr/bin/realpath -e "$DIR")
 	git init -q $DIR
 	cd $DIR
 	xbps-query -M -Ro '*' | $PROGRESS | awk '