summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-06-04 00:29:24 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-06-04 00:29:24 +0000
commit0accb94ff0cb8ef52a3ffea24b20524e393cecf2 (patch)
tree456afa3b7621e981adf3df588fdd1c5dfa970781 /sys
parent15cdb69f61478a7a8133808f198f74ef38f33041 (diff)
rootbind: use $objtype instead of hardcoding 386
Diffstat (limited to 'sys')
-rwxr-xr-xsys/lib/rootbind4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/rootbind b/sys/lib/rootbind
index c2e937f9f..16c89dbd0 100755
--- a/sys/lib/rootbind
+++ b/sys/lib/rootbind
@@ -1,4 +1,4 @@
bind `{pwd} /n/src9
-bind /n/src9/386/bin /bin
+bind /n/src9/$objtype/bin /bin
bind -a /n/src9/rc/bin /bin
-for(i in 386 rc acme mail sys lib cron){bind -c /n/src9/$i /$i}
+for(i in $objtype rc acme mail sys lib cron){bind -c /n/src9/$i /$i}