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 ++-- examples/bootstrap | 10 +--------- 2 files changed, 3 insertions(+), 11 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} ${*} } } diff --git a/examples/bootstrap b/examples/bootstrap index e590279..596e919 100755 --- a/examples/bootstrap +++ b/examples/bootstrap @@ -96,14 +96,6 @@ if (( rcempty )) { cat <<- tac bootstrap finished. - Package directory: ${PKG_DIR}, + Package directory: ${PKG_DIR} config path : ${XDG_CONFIG_HOME}/caretaker/caretaker.conf tac - -if [[ ${PATH} != *${HOME}/bin* ]] { - cat <<- tac - - Note: You may need to change your PATH to include ~/bin, - otherwise certain parts of caretaker will not work. - tac -} -- cgit v1.2.3