diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-01-05 16:13:33 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-01-05 16:13:33 +0100 |
commit | 758df12b42f3b21e94fce605bd6f77269f55a0d4 (patch) | |
tree | dedfd3dced2864a4f57841bf5de355092414972a | |
parent | 557809158760633bd09b6cbc206f3f6e0741abfc (diff) | |
download | xtools-758df12b42f3b21e94fce605bd6f77269f55a0d4.tar.gz xtools-758df12b42f3b21e94fce605bd6f77269f55a0d4.tar.xz xtools-758df12b42f3b21e94fce605bd6f77269f55a0d4.zip |
xlocate: use absolute path to realpath to avoid shell builtins.
-rwxr-xr-x | xlocate | 2 |
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 ' |