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/checklinks | |
parent | 78950ebb92510c72c6cd08e591378ae6f292b0ac (diff) |
ct / checklinks: Add $pkgdir and parameters with absolute paths
Diffstat (limited to 'bin/checklinks')
-rwxr-xr-x | bin/checklinks | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/checklinks b/bin/checklinks index 3150293..d9df1a2 100755 --- a/bin/checklinks +++ b/bin/checklinks @@ -268,9 +268,12 @@ Set the level threshold to show status messages. =item B<-p>, B<--parameter> I<parameter>=I<value> While reading the links file, replace $I<parameter> with I<value>. + When used in conjuction with ct(1), $package will be set to the current package's relative path (as seen from $HOME, like C<packages/caretaker>), -and $etc will be set to $package/etc (like C<packages/caretaker/etc>) +$etc will be set to $package/etc (like C<packages/caretaker/etc>) and $pkgdir +will point to the package root (like C<packages>). Also, for each of these +parameters, C<a_param> (like $a_etc) is the corresponding absolute path. =item B<-q>, B<--quiet> |