]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Make scripts more compatible across OSes
authorPhil Phillips <pphillips@experts-exchange.com>
Fri, 25 Mar 2011 18:46:58 +0000 (02:46 +0800)
committerJoel Martin <github@martintribe.org>
Sat, 26 Mar 2011 20:18:08 +0000 (04:18 +0800)
utils/img2js.py
utils/launch.sh
utils/web.py
utils/websocket.py
utils/websockify

index 058c784e67282480f13dd9f0ce73527b83bbfd6c..3ba4598e9ac84b6d7cb6d3e7bf580ae859106094 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 #
 # Convert image to Javascript compatible base64 Data URI
index c21e2baa7d946f6d9f1fb981cf09bea4cd15fb90..613250c6a5564ed60da22d4928091222d5a65d3e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 usage() {
     if [ "$*" ]; then
index 6b7670b0574e9ba96684a575ec2a346e06f7e6cc..23afca080775293c79acf29f495c21257781626b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 '''
 A super simple HTTP/HTTPS webserver for python. Automatically detect
 
index 8fb9e68ff283ad9a27c0207f133d9be287be6497..9a9d52a206abcee0b2cd611b9617470c25de9b04 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 '''
 Python WebSocket library with support for "wss://" encryption.
index e9ef5b3d371b3e1aec215be8232e76ba3c5f1325..36aba173865de3902d4dcb6c1b41c06530f718ef 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 '''
 A WebSocket to TCP socket proxy with support for "wss://" encryption.