diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-06-26 14:38:20 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-06-26 14:38:20 +0200 |
commit | 2b6105a50027ab2e6007998967f9a46aa4cac6fe (patch) | |
tree | f782cab3aea7b0c9d867a4bbc8beeee80ec4914d /bin/ct | |
parent | 78950ebb92510c72c6cd08e591378ae6f292b0ac (diff) |
ct / checklinks: Add $pkgdir and parameters with absolute paths
Diffstat (limited to 'bin/ct')
-rwxr-xr-x | bin/ct | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -416,9 +416,15 @@ function priority_name { function run_checklinks { if [[ -e links ]] { + ${self_path}/bin/checklinks ${*} ${CL_OPTIONS} \ - --parameter package=${PWD} \ - --parameter etc=${PWD}/etc + --parameter package=${PWD} \ + --parameter a_package=${HOME}/${PWD} \ + --parameter etc=${PWD}/etc \ + --parameter a_etc=${HOME}/${PWD}/etc \ + --parameter pkgdir=${PKG_DIR#${HOME}/} \ + --parameter a_pkgdir=${PKG_DIR} + } elif [[ -d etc && ${MAGIC_ETC} == 1 ]] { ${self_path}/bin/checklinks --ct-auto ${CL_OPTIONS} ${*} } |