summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index f099c33e189..2ad87a7c129 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -111,7 +111,7 @@ def configurePaths():
binDir = os.path.join(binDir, "x64")
elif isSolaris():
if isSparc():
- libDir = os.path.join(libDir, "sparcv9")
+ libDir = os.path.join(libDir, "64")
binDir = os.path.join(binDir, "sparcv9")
else:
libDir = os.path.join(libDir, "amd64")
@@ -216,9 +216,9 @@ def isSolaris():
return sys.platform == "sunos5"
def isSparc():
- p = os.popen("uname -m")
+ p = os.popen("uname -p")
l = p.readline().strip()
- if l == "sun4u":
+ if l == "sparc":
return True
else:
return False