summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-16 10:45:40 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-16 10:45:40 +0200
commitbaf926f51e3dc736b6af8535b41fe22a479bd032 (patch)
tree5cd1f185a81ec2beeb7d2e368c6e20d6d96f1510 /bin
parente5b8be6416204f2a4e78ef88481433782bdf0134 (diff)
Find checklinks outside of $PATH
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ct4
1 files changed, 2 insertions, 2 deletions
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} ${*}
}
}