shithub: werc

Download patch

ref: e289468a53bb3a4ed9e91a71f777d707ab2f827f
parent: e850153e752f93d58515b8a983b0daee5b3d9f47
author: sl <[email protected]>
date: Fri Mar 6 11:58:51 EST 2009

Remove trailing / from path elements to make nsz happy

--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -15,7 +15,7 @@
 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>'
--- a/etc/initrc
+++ b/etc/initrc
@@ -13,7 +13,7 @@
 
 # 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