aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJacek Antonelli2010-03-15 22:56:20 -0500
committerJacek Antonelli2010-03-15 22:56:20 -0500
commit942d87290daa48ee36c40bcf2bf8baa8a1cbad1f (patch)
treebb6367eaccf74b2db2fd0e583dfc0d75921fd8e9
parentImprudence 1.3.0 beta 2 released. (diff)
downloadmeta-impy-942d87290daa48ee36c40bcf2bf8baa8a1cbad1f.zip
meta-impy-942d87290daa48ee36c40bcf2bf8baa8a1cbad1f.tar.gz
meta-impy-942d87290daa48ee36c40bcf2bf8baa8a1cbad1f.tar.bz2
meta-impy-942d87290daa48ee36c40bcf2bf8baa8a1cbad1f.tar.xz
Small compatibility fix to make_changelog.py.
os.uname is not available on Windows. sys.platform is better. @nochangelog
-rwxr-xr-xlinden/scripts/make_changelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/scripts/make_changelog.py b/linden/scripts/make_changelog.py
index 8c21392..43745a4 100755
--- a/linden/scripts/make_changelog.py
+++ b/linden/scripts/make_changelog.py
@@ -370,7 +370,7 @@ def main():
370 370
371 371
372 # Set PATH to help find the git executable on Mac OS X. 372 # Set PATH to help find the git executable on Mac OS X.
373 if os.uname()[0] == "Darwin": 373 if sys.platform == "darwin":
374 os.environ["PATH"] += ":/usr/local/bin:/usr/local/git/bin:/sw/bin:/opt/bin:~/bin" 374 os.environ["PATH"] += ":/usr/local/bin:/usr/local/git/bin:/sw/bin:/opt/bin:~/bin"
375 375
376 # Fetch the log entries from git in one big chunk. 376 # Fetch the log entries from git in one big chunk.