remove 2>&1 from filename

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484740 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2013-05-21 10:40:30 +00:00
parent c0e7a50ab8
commit 697133b10f
1 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ def checkSigs(project, urlString, version, tmpDir, isSigned):
shutil.rmtree(gpgHomeDir) shutil.rmtree(gpgHomeDir)
os.makedirs(gpgHomeDir, 0o700) os.makedirs(gpgHomeDir, 0o700)
run('gpg --homedir %s --import %s' % (gpgHomeDir, keysFile), run('gpg --homedir %s --import %s' % (gpgHomeDir, keysFile),
'%s/%s.gpg.import.log 2>&1' % (tmpDir, project)) '%s/%s.gpg.import.log' % (tmpDir, project))
if mavenURL is None: if mavenURL is None:
raise RuntimeError('%s is missing maven' % project) raise RuntimeError('%s is missing maven' % project)
@ -404,7 +404,7 @@ def checkSigs(project, urlString, version, tmpDir, isSigned):
# Test trust (this is done with the real users config) # Test trust (this is done with the real users config)
run('gpg --import %s' % (keysFile), run('gpg --import %s' % (keysFile),
'%s/%s.gpg.trust.import.log 2>&1' % (tmpDir, project)) '%s/%s.gpg.trust.import.log' % (tmpDir, project))
print(' verify trust') print(' verify trust')
logFile = '%s/%s.%s.gpg.trust.log' % (tmpDir, project, artifact) logFile = '%s/%s.%s.gpg.trust.log' % (tmpDir, project, artifact)
run('gpg --verify %s %s' % (sigFile, artifactFile), logFile) run('gpg --verify %s %s' % (sigFile, artifactFile), logFile)