diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-10-16 10:45:40 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-10-16 10:45:40 +0200 |
commit | baf926f51e3dc736b6af8535b41fe22a479bd032 (patch) | |
tree | 5cd1f185a81ec2beeb7d2e368c6e20d6d96f1510 | |
parent | e5b8be6416204f2a4e78ef88481433782bdf0134 (diff) |
Find checklinks outside of $PATH
-rwxr-xr-x | bin/ct | 4 | ||||
-rwxr-xr-x | examples/bootstrap | 10 |
2 files changed, 3 insertions, 11 deletions
@@ -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 -} |