diff tests/test-newcgi.t @ 32956:b6776b34e44e

tests: use $PYTHON in #! so we always use the right Python
author Augie Fackler <augie@google.com>
date Thu, 15 Jun 2017 14:27:52 -0400
parents 7a9cbb315d84
children 8e6f4939a69a
line wrap: on
line diff
--- a/tests/test-newcgi.t	Tue Jun 20 09:33:19 2017 -0400
+++ b/tests/test-newcgi.t	Thu Jun 15 14:27:52 2017 -0400
@@ -5,7 +5,7 @@
 
   $ hg init test
   $ cat >hgweb.cgi <<HGWEB
-  > #!/usr/bin/env python
+  > #!$PYTHON
   > #
   > # An example CGI script to use hgweb, edit as necessary
   > 
@@ -31,7 +31,7 @@
   > HGWEBDIRCONF
 
   $ cat >hgwebdir.cgi <<HGWEBDIR
-  > #!/usr/bin/env python
+  > #!$PYTHON
   > #
   > # An example CGI script to export multiple hgweb repos, edit as necessary
   >