make message checking .. in prefix start with uppercase
This commit is contained in:
parent
c2e48b6526
commit
8194116e78
|
|
@ -1,15 +1,15 @@
|
||||||
#
|
#
|
||||||
# SCons user-supplied prefix tester
|
# SCons user-supplied prefix tester
|
||||||
#
|
#
|
||||||
# Version 1.0
|
# Version 1.1
|
||||||
# 16-Jun-2009
|
# 24-Aug-2009
|
||||||
#
|
#
|
||||||
|
|
||||||
from SCons.Script import ARGUMENTS
|
from SCons.Script import ARGUMENTS
|
||||||
|
|
||||||
def checkForUserPrefix(conf,oldprefix=None):
|
def checkForUserPrefix(conf,oldprefix=None):
|
||||||
"""Returns prefix specified on command line or oldprefix if none is found."""
|
"""Returns prefix specified on command line or oldprefix if none is found."""
|
||||||
conf.Message("checking for user supplied prefix... ")
|
conf.Message("Checking for user supplied prefix... ")
|
||||||
lp = ARGUMENTS.get('prefix', 0)
|
lp = ARGUMENTS.get('prefix', 0)
|
||||||
if lp:
|
if lp:
|
||||||
conf.Result(1)
|
conf.Result(1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user