version 1.2, 2015/02/04 01:57:55
|
version 1.4, 2015/02/13 18:57:34
|
|
|
from subprocess import check_output, check_call, call, Popen, CalledProcessError | from subprocess import check_output, check_call, call, Popen, CalledProcessError |
| |
PROD_ROOTDIR = '/home/jsoc/cvs/Development' | PROD_ROOTDIR = '/home/jsoc/cvs/Development' |
|
# PROD_ROOTDIR = '/tmp/arta' |
WAYSTATION = 'waystation' | WAYSTATION = 'waystation' |
WAYSTATION_USER = 'arta' | WAYSTATION_USER = 'arta' |
| |
|
|
# os.chdir does NOT change the environment variable $PWD. But our make system relies on PWD being the current directory. | # os.chdir does NOT change the environment variable $PWD. But our make system relies on PWD being the current directory. |
os.environ['PWD'] = os.path.realpath(os.getcwd()) | os.environ['PWD'] = os.path.realpath(os.getcwd()) |
| |
cmdList = ['./configure'] |
cmdList = ['./configure', '-d'] |
check_call(cmdList) | check_call(cmdList) |
| |
cmdList = ['make'] | cmdList = ['make'] |