From baf926f51e3dc736b6af8535b41fe22a479bd032 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 16 Oct 2010 10:45:40 +0200 Subject: Find checklinks outside of $PATH --- bin/ct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/ct b/bin/ct index f4c78c6..5b87052 100755 --- a/bin/ct +++ b/bin/ct @@ -411,11 +411,11 @@ function priority_name { function run_checklinks { if [[ -e links ]] { - checklinks ${*} ${CL_OPTIONS} \ + ${self_path}/bin/checklinks ${*} ${CL_OPTIONS} \ --parameter package=${${PWD#${HOME}}#/##} \ --parameter etc=${${PWD#${HOME}}#/##}/etc } elif [[ -d etc && ${MAGIC_ETC} == 1 ]] { - checklinks --ct-auto ${CL_OPTIONS} ${*} + ${self_path}/bin/checklinks --ct-auto ${CL_OPTIONS} ${*} } } -- cgit v1.2.3