|
@@ -68,7 +68,7 @@ def replace_text(file, to_replace, replacement):
|
|
# Queries the shell for the value of FWROOT
|
|
# Queries the shell for the value of FWROOT
|
|
def get_fwroot():
|
|
def get_fwroot():
|
|
|
|
|
|
- if os.environ['FWROOT']:
|
|
|
|
|
|
+ if os.getenv('FWROOT'):
|
|
return os.environ['FWROOT']
|
|
return os.environ['FWROOT']
|
|
else:
|
|
else:
|
|
return os.getcwd()
|
|
return os.getcwd()
|