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