From 758df12b42f3b21e94fce605bd6f77269f55a0d4 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 5 Jan 2016 16:13:33 +0100 Subject: xlocate: use absolute path to realpath to avoid shell builtins. --- xlocate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlocate') 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 ' -- cgit 1.4.1