Use /usr/bin/env shebang to make more crossplatform.

Based on noVNC pull request from Decorum.
This commit is contained in:
Joel Martin 2011-03-26 15:27:08 -05:00
parent 7534574a2f
commit 8765971e06
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
usage() {
if [ "$*" ]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
usage() {
echo "Usage: $(basename $0) PORT CMDLINE"

2
rebind
View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
usage() {
echo "Usage: $(basename $0) OLD_PORT NEW_PORT COMMAND_LINE"

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
'''
A WebSocket server that echos back whatever it receives from the client.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
'''
WebSocket server-side load test program. Sends and receives traffic

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
'''
WebSocket server-side load test program. Sends and receives traffic

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
'''
Python WebSocket library with support for "wss://" encryption.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
'''
A WebSocket to TCP socket proxy with support for "wss://" encryption.