From 81816bebe6b3506af8cabaa7ebe265c70f3499cd Mon Sep 17 00:00:00 2001 From: kenichiro matsuda Date: Thu, 6 Aug 2015 10:13:02 +0900 Subject: [PATCH] Fix shebang of commands Fix shebang of following commands. $ grep '#!/usr/bin/python' swift/bin/* swift/bin/swift-account-info:#!/usr/bin/python swift/bin/swift-container-info:#!/usr/bin/python swift/bin/swift-container-sync:#!/usr/bin/python swift/bin/swift-recon:#!/usr/bin/python swift/bin/swift-ring-builder:#!/usr/bin/python swift/bin/swift-ring-builder-analyzer:#!/usr/bin/python Change-Id: I564d1d8abd76eba57730fc2f30263b0a0f809867 Closes-Bug: #1481623 --- bin/swift-account-info | 2 +- bin/swift-container-info | 2 +- bin/swift-container-sync | 2 +- bin/swift-recon | 2 +- bin/swift-ring-builder | 2 +- bin/swift-ring-builder-analyzer | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/swift-account-info b/bin/swift-account-info index f7f10f855e..61c619900c 100755 --- a/bin/swift-account-info +++ b/bin/swift-account-info @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at diff --git a/bin/swift-container-info b/bin/swift-container-info index 4956722813..8074b22ccd 100755 --- a/bin/swift-container-info +++ b/bin/swift-container-info @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at diff --git a/bin/swift-container-sync b/bin/swift-container-sync index 14d6bc9d7c..b885015703 100755 --- a/bin/swift-container-sync +++ b/bin/swift-container-sync @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (c) 2010-2012 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/bin/swift-recon b/bin/swift-recon index 9a068f915e..72f6eeef41 100755 --- a/bin/swift-recon +++ b/bin/swift-recon @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (c) 2014 Christian Schwede # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/bin/swift-ring-builder b/bin/swift-ring-builder index ed1b3843a8..4f85179951 100755 --- a/bin/swift-ring-builder +++ b/bin/swift-ring-builder @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (c) 2014 Christian Schwede # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/bin/swift-ring-builder-analyzer b/bin/swift-ring-builder-analyzer index 18365777f3..6a70105c14 100755 --- a/bin/swift-ring-builder-analyzer +++ b/bin/swift-ring-builder-analyzer @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (c) 2015 Samuel Merritt # # Licensed under the Apache License, Version 2.0 (the "License");