From 0accb94ff0cb8ef52a3ffea24b20524e393cecf2 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 4 Jun 2011 00:29:24 +0000 Subject: [PATCH] rootbind: use $objtype instead of hardcoding 386 --- sys/lib/rootbind | 4 ++-- 1 file 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}