summaryrefslogtreecommitdiff
path: root/cpp/RPMTools.py
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2005-03-08 01:43:07 +0000
committerBrent Eagles <brent@zeroc.com>2005-03-08 01:43:07 +0000
commit7ba56ccf489feff6fff81e874ef6f797f6249520 (patch)
tree26447da50f4fb99d6f2f778f2ea92583519e12f7 /cpp/RPMTools.py
parentmore quiet -> zip flags (diff)
downloadice-7ba56ccf489feff6fff81e874ef6f797f6249520.tar.bz2
ice-7ba56ccf489feff6fff81e874ef6f797f6249520.tar.xz
ice-7ba56ccf489feff6fff81e874ef6f797f6249520.zip
demo packages are now only created on Linux. Linux is the best platform for
creating these packages since it supports all of the mappings that will go into the demos
Diffstat (limited to 'cpp/RPMTools.py')
-rw-r--r--cpp/RPMTools.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/RPMTools.py b/cpp/RPMTools.py
index ecd7722dab6..d4ae48bb2c5 100644
--- a/cpp/RPMTools.py
+++ b/cpp/RPMTools.py
@@ -104,7 +104,7 @@ class Package:
ofile.write('cd /usr\n')
for perm, f in self.filelist:
if perm == "dll":
- ofile.write('gacutil -i ' + f + '\n')
+ ofile.write('gacutil -i ' + f + ' > /dev/null\n')
ofile.write('rm ' + f + '\n')
ofile.write('\n')
@@ -117,7 +117,6 @@ class Package:
#
pipe_stdin, pipe_stdout = os.popen2('monodis --assembly ' + installDir + '/usr/' + f);
lines = pipe_stdout.readlines()
- print lines
pipe_stdin.close()
pipe_stdout.close()
assemblyName = ''
@@ -128,7 +127,7 @@ class Package:
elif l.startswith('Version:'):
assemblyVersion = l.split(':')[1].strip()
- ofile.write('gacutil -u ' + assemblyName + ', version=' + assemblyVersion + '\n')
+ ofile.write('gacutil -u ' + assemblyName + ', version=' + assemblyVersion + ' > /dev/null\n')
else:
ofile.write('# Unable to determine assembly information for ' + f)
ofile.write(', please adjust the file manually\n')