Changeset 12652

Show
Ignore:
Timestamp:
01/21/11 06:57:45 (16 months ago)
Author:
build
Message:

Don't remove a directory that might not exist

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • packaging/centuryegg/build-sjsoft-rpm

    r12489 r12652  
    3333#BRANCH_PATHS={"1.8":"releases/1.8.x","1.10": "releases/1.10.x"} 
    3434BRANCH_PATHS={"1.12.1.x": "releases/1.12.1.x"} 
     35#BRANCH_PATHS={"1.11.x": "releases/1.11.x"} 
    3536SOURCE_PATH="j5/src/" 
    3637for BRANCH_PATH in BRANCH_PATHS: 
     
    4445    subprocess.call(["svn", "up"], stdout=log_file) 
    4546    subprocess.call(["svn", "switch", SVN_URL], stdout=log_file) 
    46     shutil.rmtree(os.path.join("sjsoft", "Library", "FunctionalTests")) 
     47    if os.path.exists(os.path.join("sjsoft", "Library", "FunctionalTests")): 
     48        shutil.rmtree(os.path.join("sjsoft", "Library", "FunctionalTests")) 
    4749    if not os.path.exists("yahp.jar"): 
    4850        subprocess.call(["wget","-c","http://download.sjsoft.com/yahpconverter/yahp1.2.19c.jar","-O","yahp.jar"], stdout=log_file)