Browse Source

Make scripts more compatible across OSes

Phil Phillips 14 năm trước cách đây
mục cha
commit
e9155818c8
5 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 1 1
      utils/img2js.py
  2. 1 1
      utils/launch.sh
  3. 1 1
      utils/web.py
  4. 1 1
      utils/websocket.py
  5. 1 1
      utils/websockify

+ 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.