]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Invoke python with /usr/bin/env python instead of directly 662/head
authorDan Mick <dan.mick@inktank.com>
Mon, 30 Sep 2013 21:58:11 +0000 (14:58 -0700)
committerDan Mick <dan.mick@inktank.com>
Mon, 30 Sep 2013 21:58:11 +0000 (14:58 -0700)
Fixes: #6311
Signed-off-by: Dan Mick <dan.mick@inktank.com>
src/Makefile.am
src/ceph-create-keys
src/ceph-disk
src/ceph-rest-api
src/objsync/boto_del.py
src/pybind/ceph_rest_api.py
src/script/perf-watch.py

index 3bdec278c6fefe3dc7b510e310972cad861b68e9..e3e9a3edb1bd1ab819661cdecc14b9f2f74d4485 100644 (file)
@@ -1466,7 +1466,7 @@ test/encoding/ceph_dencoder.cc: ./ceph_ver.h
 
 ceph: ceph.in ./ceph_ver.h Makefile
        rm -f $@ $@.tmp
-       echo "#!/usr/bin/python" >$@.tmp
+       echo "#!/usr/bin/env python" >$@.tmp
        grep "#define CEPH_GIT_NICE_VER" ./ceph_ver.h | \
                sed -e 's/#define \(.*VER\) /\1=/' >>$@.tmp
        grep "#define CEPH_GIT_VER" ./ceph_ver.h | \
index 176b06e7a380238dbd602b1abe8b6626b1a0d770..0359228d5f851d2314054fc934b9bf71dfa78ae7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 import argparse
 import errno
 import json
index 3d09bdf7418fc9b465ded9a05477b06076a8ef7a..0691d252cd7a4cb660fc1da7d65b180effba0693 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 import argparse
 import errno
index ae5245b4f76f2af53e9248b1d28bf054505c3eff..772b3d20fcd64d56ebc7290fe1c5af3e366f6810 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # vim: ts=4 sw=4 smarttab expandtab
 
 import argparse
index 14e790544ec3a70045fb9ca267875f4fa4ebb1f1..ba512e1ca33a975817586a949c6901e178d696ed 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 #
 # Ceph - scalable distributed file system
index c53c3d77737a8d73ac7fe11b550e4bc705a6cfb1..75e61060544cdbdce41ca53a09f95ca8184ddb5e 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 # vim: ts=4 sw=4 smarttab expandtab
 
 import errno
index 8c18c3ec7664472853144869461c430a6451dfaf..826d4a499d7fea88efcfd2bb6e264ee7f0017027 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 import json
 import argparse