summaryrefslogtreecommitdiff
path: root/src/toru
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-06-06 15:13:41 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-06 15:13:41 -0600
commit8863993ce62682dc2f72c94705d37369271f6310 (patch)
tree405abf0ee5a3dae537ab975d6a292a04116b0b93 /src/toru
parentc345145c9fa3d86c09ee153142ea8bf706be0e50 (diff)
toru-where: simplify slightly, add quoting.
Diffstat (limited to 'src/toru')
-rwxr-xr-xsrc/toru/toru-where4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/toru/toru-where b/src/toru/toru-where
index e042146..f6df15f 100755
--- a/src/toru/toru-where
+++ b/src/toru/toru-where
@@ -22,6 +22,4 @@
load_files libretools
check_vars libretools TORUPATH || exit 1
-PATHFILE=${TORUPATH}/paths.tch
-
-tcamgr get ${PATHFILE} $1 2>/dev/null || echo ""
+tcamgr get "${TORUPATH}/paths.tch" "$1" 2>/dev/null || echo ""