From 79444786617ee442c2e16bc37651d9982cfcf474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mas=C5=82owski?= Date: Sat, 18 Feb 2012 13:45:31 +0100 Subject: Support running toru and toru-path via PATH. --- toru | 2 +- toru-path | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toru b/toru index 9616119..41acb18 100755 --- a/toru +++ b/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 $0)/toru-utils +source $(dirname $(command -v $0))/toru-utils # Saves contents on a named cache # $1 cache name (repo) diff --git a/toru-path b/toru-path index 7500aed..5081115 100755 --- a/toru-path +++ b/toru-path @@ -1,6 +1,6 @@ #!/bin/bash -source $(dirname $0)/toru-utils +source $(dirname $(command -v $0))/toru-utils LASTSYNCFILE=${TORUPATH}/lastsync.paths -- cgit v1.1-4-g5e80