[cig-commits] commit: disable 'prefix'

Mercurial hg at geodynamics.org
Mon Feb 1 15:30:29 PST 2010


changeset:   235:2989f7a758b7
branch:      1.4.x
parent:      233:f430825e613d
user:        John Mansour <john.mansour at maths.monash.edu.au>
date:        Fri Jan 08 12:11:44 2010 +1100
files:       SConfigure
description:
disable 'prefix'


diff -r f430825e613d -r 2989f7a758b7 SConfigure
--- a/SConfigure	Fri Jan 08 08:29:19 2010 +1100
+++ b/SConfigure	Fri Jan 08 12:11:44 2010 +1100
@@ -66,6 +66,9 @@ if not (GetOption('help') or GetOption('
 
     if env.get('prefix', None) is None:
         env['prefix'] = env.GetLaunchDir()
+    else:
+	print("prefix specification is currently disabled.  you may use --build-dir as an alternative.");
+	env.Exit()
 
     if env.get('eptiming', None):
         env.MergeFlags('-DENABLE_STGERMAIN_LOG')



More information about the CIG-COMMITS mailing list