Use /usr/bin/env shebang to make more crossplatform.
Based on noVNC pull request from Decorum.
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
if [ "$*" ]; then
|
if [ "$*" ]; then
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: $(basename $0) PORT CMDLINE"
|
echo "Usage: $(basename $0) PORT CMDLINE"
|
||||||
|
|||||||
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user