Explicitly invoke Python 3.x in shebang lines
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 24 Jan 2016 19:59:45 +0000 (19:59 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 24 Jan 2016 19:59:45 +0000 (19:59 +0000)
Since the codebase relies on Py3K-only syntax in places, explicitly
invoke the python3 interpreter rather than expecting the
environment's primary interpreter to support Python 3.x code.

bin/mudpy
bin/test

index 040c5f8..4d816d0 100755 (executable)
--- a/bin/mudpy
+++ b/bin/mudpy
@@ -1,7 +1,7 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Skeletal executable for the mudpy engine."""
 
 """Skeletal executable for the mudpy engine."""
 
-# Copyright (c) 2004-2015 Jeremy Stanley <fungi@yuggoth.org>. Permission
+# Copyright (c) 2004-2016 Jeremy Stanley <fungi@yuggoth.org>. Permission
 # to use, copy, modify, and distribute this software is granted under
 # terms provided in the LICENSE file distributed with this software.
 
 # to use, copy, modify, and distribute this software is granted under
 # terms provided in the LICENSE file distributed with this software.
 
index 6311dc5..d37aca5 100755 (executable)
--- a/bin/test
+++ b/bin/test
@@ -1,7 +1,7 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Regression test script for the mudpy engine."""
 
 """Regression test script for the mudpy engine."""
 
-# Copyright (c) 2004-2015 Jeremy Stanley <fungi@yuggoth.org>. Permission
+# Copyright (c) 2004-2016 Jeremy Stanley <fungi@yuggoth.org>. Permission
 # to use, copy, modify, and distribute this software is granted under
 # terms provided in the LICENSE file distributed with this software.
 
 # to use, copy, modify, and distribute this software is granted under
 # terms provided in the LICENSE file distributed with this software.