Ignore:
Timestamp:
Nov 14, 2007 10:04:33 AM (13 years ago)
Author:
stefan
Message:

run configure only if last configure run was not ok OR svn update updated a configure or a *.in file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBsvnCommand.py

    r753 r771  
    2121#  project: Coin project running the command (this is used to provide
    2222#           a better message if an error is detected
     23#  return: the result of the NBosCommand call;
     24#          return['returnCode'] is the return code of svn
    2325#------------------------------------------------------------------------
    2426def run(svnCmd,dir,project) :
    25   retVal='OK'
    2627  os.chdir(dir)
    2728  NBlogMessages.writeMessage('  cd '+dir)
     
    2930  result = NBosCommand.run(svnCmd)
    3031  if result['returnCode'] != 0 :
    31     NBemail.sendCmdMsgs(project,result,svnCmd)
    32     retVal='Error'
    33   return retVal
     32   NBemail.sendCmdMsgs(project,result,svnCmd)
     33  return result
    3434
    3535
Note: See TracChangeset for help on using the changeset viewer.