swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 431e20eaaf7f4125c026dae965e289a7a71ad7dd
parent 3da403cc6f1b6d74117879c967f6da0cf304afe0
Author: uriel@soma <unknown>
Date:   Fri,  6 Mar 2009 16:58:51 +0000

Remove trailing / from path elements to make nsz happy
Diffstat:
Mbin/werc.rc | 2+-
Metc/initrc | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/werc.rc b/bin/werc.rc @@ -15,7 +15,7 @@ dirfilter='s/\*$//; s,/+\./+,/,g; s,^\./,,; /\/[._][^\/]/d; /'$forbidden_uri_cha dirclean=' s/\.(md|html|txt)$//; ' # Careful, the proper p9p path might not be set until initrc.local is sourced -path=(. $PLAN9/bin ./bin/ /bin/ /usr/bin) +path=(. $PLAN9/bin ./bin /bin /usr/bin) headers=lib/headers.tpl res_tail='</body></html>' diff --git a/etc/initrc b/etc/initrc @@ -13,7 +13,7 @@ plan9port=$PLAN9 # Path, make sure the plan9port /bin directory is included before /bin # Keep '.' in path! It is needed. -path=($plan9port/bin/ . ./bin/ ./bin/contrib/ /bin/ /usr/bin/) +path=($plan9port/bin . ./bin ./bin/contrib /bin /usr/bin) # Set this to your favorite markdown formatter, eg., markdown.pl (fltr_cache # takes as an argument a filter, in the default configuration markdown.pl, that