summaryrefslogtreecommitdiff
path: root/src/toru/toru-where
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-24 15:17:59 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-24 16:24:13 -0400
commit05128d533225b75f35f79a1f55b04556b7e9736b (patch)
treea2e8d723e76fd8e44c81ea0fbe1ad4dda597856d /src/toru/toru-where
parentd712e575c0d5b1bf66443beec3e7ed75be636e2d (diff)
Merge conf.sh:load_files and conf.sh:check_vars into load_conf
Diffstat (limited to 'src/toru/toru-where')
-rwxr-xr-xsrc/toru/toru-where3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/toru/toru-where b/src/toru/toru-where
index ba7fb0a..5eb491b 100755
--- a/src/toru/toru-where
+++ b/src/toru/toru-where
@@ -21,8 +21,7 @@
. "$(librelib conf)"
main() {
- load_files libretools
- check_vars libretools TORUPATH || exit 1
+ load_conf libretools.conf TORUPATH || exit
tcamgr get "${TORUPATH}/paths.tch" "$1" 2>/dev/null || echo ""
}