Fix a flaky shebang handling issue
This commit is contained in:
		
							parent
							
								
									8952b217a8
								
							
						
					
					
						commit
						daad3190b7
					
				|  | @ -1,8 +1,7 @@ | ||||||
| #!/bin/sh | #!/usr/bin/env python2 | ||||||
| ''''which python2 >/dev/null && exec python2 -u "$0" "$@" &>>$LOG # ''' | # | ||||||
| ''''which python  >/dev/null && exec python  -u "$0" "$@" &>>$LOG # ''' |  | ||||||
| 
 |  | ||||||
| # Copyright (C) 2014-2015 Nginx, Inc. | # Copyright (C) 2014-2015 Nginx, Inc. | ||||||
|  | # | ||||||
| 
 | 
 | ||||||
| import sys, os, signal, base64, ldap, Cookie, argparse | import sys, os, signal, base64, ldap, Cookie, argparse | ||||||
| from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue