Skip to content

Commit 110a8fe

Browse files
authored
Merge pull request #15 from kbernhagen/use-cbang-config
Use CBANG_CONFIG_HOME
2 parents 599638f + 2cb2a09 commit 110a8fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SConstruct

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ if sys.platform != 'darwin':
66

77
env = Environment(ENV = os.environ)
88
try:
9-
env.Tool('config', toolpath = [os.environ.get('CBANG_HOME'), './cbang'])
9+
paths = [os.environ.get('CBANG_HOME'), os.environ.get('CBANG_CONFIG_HOME')]
10+
env.Tool('config', toolpath = paths)
1011
except Exception as e:
1112
raise Exception('CBANG_HOME not set?\n' + str(e))
1213

0 commit comments

Comments
 (0)