summaryrefslogtreecommitdiff
path: root/src/toru/toru-where
blob: 4b3ff1bfd052c13538b0221871feeaa92f2a3e0e (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
# Locates a PKGBUILD dir on toru's path cache
. $(librelib conf.sh)
load_files libretools
check_vars libretools TORUPATH || exit 1

PATHFILE=${TORUPATH}/paths.tch

tcamgr get ${PATHFILE} $1 2>/dev/null || echo ""