(file) Return to buildprod.py CVS log (file) (dir) Up to [Development] / JSOC / build

Diff for /JSOC/build/buildprod.py between version 1.3 and 1.5

version 1.3, 2015/02/13 18:23:36 version 1.5, 2015/02/13 21:41:06
Line 6  import os
Line 6  import os
 import pwd import pwd
 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'  # PROD_ROOTDIR = '/tmp/arta'
 WAYSTATION = 'waystation' WAYSTATION = 'waystation'
 WAYSTATION_USER = 'arta' WAYSTATION_USER = 'arta'
  
Line 58  try:
Line 58  try:
         # 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']
Line 66  try:
Line 66  try:
         cmdList = ['/usr/bin/make', 'dsds']         cmdList = ['/usr/bin/make', 'dsds']
         check_call(cmdList)         check_call(cmdList)
  
         cmdList = ['chgrp', '-R', 'jsoc', '.']          cmdList = ['chgrp', '-Rh', 'jsoc', '.']
         check_call(cmdList)         check_call(cmdList)
         cmdList = ['chmod', '-R', 'g-w', '.']         cmdList = ['chmod', '-R', 'g-w', '.']
         check_call(cmdList)         check_call(cmdList)


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

Karen Tian
Powered by
ViewCVS 0.9.4