From 942d87290daa48ee36c40bcf2bf8baa8a1cbad1f Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Mon, 15 Mar 2010 22:56:20 -0500 Subject: Small compatibility fix to make_changelog.py. os.uname is not available on Windows. sys.platform is better. @nochangelog --- linden/scripts/make_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/scripts') 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(): # Set PATH to help find the git executable on Mac OS X. - if os.uname()[0] == "Darwin": + if sys.platform == "darwin": os.environ["PATH"] += ":/usr/local/bin:/usr/local/git/bin:/sw/bin:/opt/bin:~/bin" # Fetch the log entries from git in one big chunk. -- cgit v1.1