Use /usr/bin/env shebang to make more crossplatform.
Based on noVNC pull request from Decorum.
This commit is contained in:
parent
7534574a2f
commit
8765971e06
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
if [ "$*" ]; then
|
if [ "$*" ]; then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: $(basename $0) PORT CMDLINE"
|
echo "Usage: $(basename $0) PORT CMDLINE"
|
||||||
|
|
2
rebind
2
rebind
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: $(basename $0) OLD_PORT NEW_PORT COMMAND_LINE"
|
echo "Usage: $(basename $0) OLD_PORT NEW_PORT COMMAND_LINE"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
'''
|
'''
|
||||||
A WebSocket server that echos back whatever it receives from the client.
|
A WebSocket server that echos back whatever it receives from the client.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
'''
|
'''
|
||||||
WebSocket server-side load test program. Sends and receives traffic
|
WebSocket server-side load test program. Sends and receives traffic
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
'''
|
'''
|
||||||
WebSocket server-side load test program. Sends and receives traffic
|
WebSocket server-side load test program. Sends and receives traffic
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
'''
|
'''
|
||||||
Python WebSocket library with support for "wss://" encryption.
|
Python WebSocket library with support for "wss://" encryption.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
'''
|
'''
|
||||||
A WebSocket to TCP socket proxy with support for "wss://" encryption.
|
A WebSocket to TCP socket proxy with support for "wss://" encryption.
|
||||||
|
|
Loading…
Reference in New Issue