Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrussell2011-05-04 18:23:05 +0000
committermrussell2011-05-04 18:23:05 +0000
commitb9e288ce3c90c2fa971faef41ecd750e050fb397 (patch)
treeab8bdfda3111dcd79f1ea85b0ba1aca29261e94c /org.eclipse.wb.releng/src/releng/util.py
parent165b3c48bcbdabe5f1bc38843f5c4db1ae4d84a9 (diff)
downloadorg.eclipse.windowbuilder-b9e288ce3c90c2fa971faef41ecd750e050fb397.tar.gz
org.eclipse.windowbuilder-b9e288ce3c90c2fa971faef41ecd750e050fb397.tar.xz
org.eclipse.windowbuilder-b9e288ce3c90c2fa971faef41ecd750e050fb397.zip
fixed the deploy program to run on the eclipse server
Diffstat (limited to 'org.eclipse.wb.releng/src/releng/util.py')
-rw-r--r--org.eclipse.wb.releng/src/releng/util.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/org.eclipse.wb.releng/src/releng/util.py b/org.eclipse.wb.releng/src/releng/util.py
index e0c1d4ca..190c7e1d 100644
--- a/org.eclipse.wb.releng/src/releng/util.py
+++ b/org.eclipse.wb.releng/src/releng/util.py
@@ -14,12 +14,13 @@ def unarchive(archive, dest):
log.debug("unarchive(" + archive + ", " + dest + ")")
cwd = os.getcwd()
os.chdir(dest)
+ fhLogFile = open('/dev/null', 'wt')
if archive.endswith("tar.gz") or archive.endswith("tgz"):
- subprocess.check_call(['/bin/tar', 'xzvf', archive])
+ subprocess.check_call(['/bin/tar', 'xzvf', archive], stdout = fhLogFile)
elif archive.endswith("tar"):
- subprocess.check_call(['/bin/tar', 'xvf', archive])
+ subprocess.check_call(['/bin/tar', 'xvf', archive], stdout = fhLogFile)
elif archive.endswith("zip"):
- subprocess.check_call(['/usr/bin/unzip', archive])
+ subprocess.check_call(['/usr/bin/unzip', archive], stdout = fhLogFile)
os.chdir(cwd)
@@ -45,4 +46,4 @@ def updateMd5Hash(dir):
fhMd5File = open(md5File, 'wt')
log.info('creating ' + md5File)
subprocess.check_call(commands, stdout = fhMd5File)
- \ No newline at end of file
+

Back to the top