summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-29 15:55:54 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-29 15:55:54 -0300
commit7389eee3207cf2e06b6392cac3cdbe622d284df7 (patch)
treed2b5081d16f46f37d83a18d035f43ff431ffd5c6
parent12377d79078170ec47c1fa5fb56b12ecb13367e8 (diff)
Return nothing when missing
-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 ""