diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-18 13:45:31 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-18 13:45:31 +0100 |
commit | 79444786617ee442c2e16bc37651d9982cfcf474 (patch) | |
tree | 252e744ae791a4e2d2dcb9941cccd451b0e622fa | |
parent | c19d60441e3e5c1940c5d4b9c57e3022d969fac6 (diff) |
Support running toru and toru-path via PATH.
-rwxr-xr-x | toru | 2 | ||||
-rwxr-xr-x | toru-path | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 $0)/toru-utils +source $(dirname $(command -v $0))/toru-utils # Saves contents on a named cache # $1 cache name (repo) @@ -1,6 +1,6 @@ #!/bin/bash -source $(dirname $0)/toru-utils +source $(dirname $(command -v $0))/toru-utils LASTSYNCFILE=${TORUPATH}/lastsync.paths |