summaryrefslogtreecommitdiff
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
parente5b8be6416204f2a4e78ef88481433782bdf0134 (diff)
Find checklinks outside of $PATH
-rwxr-xr-xbin/ct4
-rwxr-xr-xexamples/bootstrap10
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
-}