summaryrefslogtreecommitdiff
path: root/toru-where
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-05 11:44:26 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-05 11:44:26 -0300
commit369245e8dbee7ad97acec087de77081627a255db (patch)
tree8e128b0bad84d042b0d504e3e5ed726b0ffe9457 /toru-where
parent3d3156b97f679a84210c08ca7e7563691d988a3b (diff)
parent9983b0c757834d61b9099a5953dec9d92330ac76 (diff)
Merge branch 'master' of git://ponape.local/libretools
Diffstat (limited to 'toru-where')
-rwxr-xr-xtoru-where7
1 files changed, 7 insertions, 0 deletions
diff --git a/toru-where b/toru-where
new file mode 100755
index 0000000..e9ab29d
--- /dev/null
+++ b/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 ""