diff options
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rwxr-xr-x | src/ceph-create-keys | 2 | ||||
-rwxr-xr-x | src/ceph-disk | 2 | ||||
-rwxr-xr-x | src/ceph-rest-api | 2 | ||||
-rwxr-xr-x | src/objsync/boto_del.py | 2 | ||||
-rwxr-xr-x | src/pybind/ceph_rest_api.py | 1 | ||||
-rwxr-xr-x | src/script/perf-watch.py | 2 |
7 files changed, 6 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 97c9e7a963d..7a816c47d65 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1441,7 +1441,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 | \ diff --git a/src/ceph-create-keys b/src/ceph-create-keys index 176b06e7a38..0359228d5f8 100755 --- a/src/ceph-create-keys +++ b/src/ceph-create-keys @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import argparse import errno import json diff --git a/src/ceph-disk b/src/ceph-disk index 3d09bdf7418..0691d252cd7 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import argparse import errno diff --git a/src/ceph-rest-api b/src/ceph-rest-api index ae5245b4f76..772b3d20fcd 100755 --- a/src/ceph-rest-api +++ b/src/ceph-rest-api @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # vim: ts=4 sw=4 smarttab expandtab import argparse diff --git a/src/objsync/boto_del.py b/src/objsync/boto_del.py index 14e790544ec..ba512e1ca33 100755 --- a/src/objsync/boto_del.py +++ b/src/objsync/boto_del.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Ceph - scalable distributed file system diff --git a/src/pybind/ceph_rest_api.py b/src/pybind/ceph_rest_api.py index c53c3d77737..75e61060544 100755 --- a/src/pybind/ceph_rest_api.py +++ b/src/pybind/ceph_rest_api.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # vim: ts=4 sw=4 smarttab expandtab import errno diff --git a/src/script/perf-watch.py b/src/script/perf-watch.py index 8c18c3ec766..826d4a499d7 100755 --- a/src/script/perf-watch.py +++ b/src/script/perf-watch.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import json import argparse |