summaryrefslogtreecommitdiff
path: root/src/toru
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-31 23:02:52 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 19:53:20 -0600
commit47722999c8cb00e6f0be036aa8b620fcd0ca861c (patch)
treef8a0821c93cc7c90aa01c814c463c207dc49574c /src/toru
parentd0665ee79d9e7dad960cfd7166987905d191bf80 (diff)
[many tools]: miscellaneous minor cleanups
Diffstat (limited to 'src/toru')
-rwxr-xr-xsrc/toru/toru2
-rwxr-xr-xsrc/toru/toru-path2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/toru/toru b/src/toru/toru
index 28f0b8a..5faa2f4 100755
--- a/src/toru/toru
+++ b/src/toru/toru
@@ -12,7 +12,7 @@
# * Possibility to hook up ABS dirs besides ABSROOT (low priority)
# * Tell updates and non available binary packages (working on this)
-source $(dirname $(command -v $0))/toru-utils
+source toru-utils
# Saves contents on a named cache
# $1 cache name (repo)
diff --git a/src/toru/toru-path b/src/toru/toru-path
index baeaeb5..3f35dbe 100755
--- a/src/toru/toru-path
+++ b/src/toru/toru-path
@@ -1,6 +1,6 @@
#!/bin/bash
-source $(dirname $(command -v $0))/toru-utils
+source toru-utils
TORUPATH=${T:-${TORUPATH}}
VERBOSE=${V:-false}