From d9fa15ac406edf0b11f111bd480584546408c911 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 9 Feb 2011 16:48:07 +0000 Subject: [PATCH] Recognize SoC context. --- bootstrap/coriolisEnv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/coriolisEnv.py b/bootstrap/coriolisEnv.py index 326f0f7b..28684060 100755 --- a/bootstrap/coriolisEnv.py +++ b/bootstrap/coriolisEnv.py @@ -138,7 +138,7 @@ fi coriolisTop = "/usr" sysconfDir = scriptDir shellMessage = "Using system-wide Coriolis 2 (/usr)" - elif scriptDir == "/asim/coriolis2/etc/coriolis2": + elif scriptDir[:35] == "/users/outil/coriolis/coriolis-2.x/": coriolisTop = "/asim/coriolis2" sysconfDir = scriptDir shellMessage = "Using SoC network-wide Coriolis 2 (/asim/coriolis2)"