shithub: werc

Download patch

ref: 874f8902794a836a2b04ccc90d44bfcae4add261
parent: c80186385969913ab78f27d3aad7f9f4bcaa12df
author: sl <sl@stanleylieber.com>
date: Sun Jun 14 18:28:55 EDT 2020

bin/contrib/tcp80: plan9port does not include 9front utilities used by rc-httpd. set $PATH here to include replacement utilities from bin/contrib.

--- a/bin/contrib/tcp80
+++ b/bin/contrib/tcp80
@@ -1,5 +1,7 @@
 #!/bin/rc
 # For use with listen(8).
 # Change paths to match your system.
-PLAN9=/usr/local/plan9front
+# Eitdit rc-httpd/rc-httpd to match your system.
+PLAN9=/usr/local/plan9
+PATH=($PATH /home/sl/www/werc/bin/contrib)
 exec /home/sl/www/werc/bin/contrib/rc-httpd/rc-httpd >>[2]/var/log/rc-httpd