Эх сурвалжийг харах

Make scripts more compatible across OSes

Phil Phillips 14 жил өмнө
parent
commit
e9155818c8

+ 1 - 1
utils/img2js.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 #
 # Convert image to Javascript compatible base64 Data URI

+ 1 - 1
utils/launch.sh

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

+ 1 - 1
utils/web.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 '''
 A super simple HTTP/HTTPS webserver for python. Automatically detect
 

+ 1 - 1
utils/websocket.py

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

+ 1 - 1
utils/websockify

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