summaryrefslogtreecommitdiff
path: root/cpp/newmakebindist.py
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2005-03-09 18:19:14 +0000
committerBrent Eagles <brent@zeroc.com>2005-03-09 18:19:14 +0000
commit06444775301c3c266149e86d100c0cf057ee0b84 (patch)
tree58555d2ce63a32ea4dbb7087b01f85a6ca061e7d /cpp/newmakebindist.py
parentfixes for AIX (diff)
downloadice-06444775301c3c266149e86d100c0cf057ee0b84.tar.bz2
ice-06444775301c3c266149e86d100c0cf057ee0b84.tar.xz
ice-06444775301c3c266149e86d100c0cf057ee0b84.zip
adding a solaris hack
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-xcpp/newmakebindist.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py
index a5a4086ad60..d6493e3b5c0 100755
--- a/cpp/newmakebindist.py
+++ b/cpp/newmakebindist.py
@@ -355,7 +355,12 @@ def getDBfiles(dbLocation):
fileList = ['lib/db.jar']
fileList.extend(lines)
- pipe_stdin, pipe_stdout = os.popen2('find lib -name "*' + getPlatformLibExtension() + '" -type f')
+ findCmd = ''
+ if getPlatform() == 'solaris':
+ findCmd = 'find lib -name "*' + getPlatformLibExtension() + '" -type f -maxdepth 1'
+ else:
+ findCmd = 'find lib -name "*' + getPlatformLibExtension() + '" -type f'
+ pipe_stdin, pipe_stdout = os.popen2(findCmd)
lines = pipe_stdout.readlines()
pipe_stdin.close()
pipe_stdout.close()