From 2b6105a50027ab2e6007998967f9a46aa4cac6fe Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 26 Jun 2011 14:38:20 +0200 Subject: ct / checklinks: Add $pkgdir and parameters with absolute paths --- bin/checklinks | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/checklinks') 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=I While reading the links file, replace $I with I. + When used in conjuction with ct(1), $package will be set to the current package's relative path (as seen from $HOME, like C), -and $etc will be set to $package/etc (like C) +$etc will be set to $package/etc (like C) and $pkgdir +will point to the package root (like C). Also, for each of these +parameters, C (like $a_etc) is the corresponding absolute path. =item B<-q>, B<--quiet> -- cgit v1.2.3