shithub: werc

Download patch

ref: 2a1b90b3575a1918fce472d3f7a2161aff1b3452
parent: c4248c3766b356865bad88cb53da41f9270fc00b
author: uriel <[email protected]>
date: Sun Oct 26 00:27:27 EDT 2008

Tighten default path setting, this forces us to make references to /usr/bin/ programs explicit, which should help become more portable... it also messes up awk until we can get it into p9p

--- a/etc/initrc
+++ b/etc/initrc
@@ -11,8 +11,8 @@
 # Location of your Plan 9 from User Space installation (usually /usr/local/plan9)
 plan9port=$PLAN9
 
-# Path, make sure the plan9port /bin directory is included before /bin and /usr/bin
-path=(. $plan9port/bin ./bin/ /bin/ /usr/bin)
+# Path, make sure the plan9port /bin directory is included before /bin
+path=($plan9port/bin/ ./bin/ /bin/)
 
 # Directory where your site(s) live ($site here is your domain name, eg., example.com)
 sitedir=sites/$site