summaryrefslogtreecommitdiff
path: root/src/toru/toru-where
diff options
context:
space:
mode:
Diffstat (limited to 'src/toru/toru-where')
-rwxr-xr-xsrc/toru/toru-where7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/toru/toru-where b/src/toru/toru-where
new file mode 100755
index 0000000..e9ab29d
--- /dev/null
+++ b/src/toru/toru-where
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Locates a PKGBUILD dir on toru's path cache
+source /etc/libretools.conf
+
+PATHFILE=${TORUPATH}/paths.tch
+
+tcamgr get ${PATHFILE} $1 2>/dev/null || echo ""