]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-daemon: use /usr/bin/python, not /usr/bin/env python
authorSage Weil <sage@redhat.com>
Fri, 1 Nov 2019 12:19:20 +0000 (07:19 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Nov 2019 12:19:20 +0000 (07:19 -0500)
This works around noise from the rpm build:

*** ERROR: ambiguous python shebang in /usr/sbin/ceph-daemon: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.

Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon

index a5c708e9655813e98e976e84945a83989648f729..c7a0724a746f7776366842ccb9d925309e070d56 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 DEFAULT_IMAGE='ceph/daemon-base'
 DATA_DIR='/var/lib/ceph'