summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-11-14 17:56:20 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-11-14 17:56:20 +0000
commitc4a5fd41d2188aa8cbfa34818eaa806cbf5d3e7e (patch)
tree74c7c2d986ccf435e6c8a83dcaa8708681bf40db
parent3ae327a1ebf49141aceb6c80d4659e0c14bc442b (diff)
downloadqpid-python-c4a5fd41d2188aa8cbfa34818eaa806cbf5d3e7e.tar.gz
QPID-5336: Don't hardcode script interpreter location
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541997 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/bindings/qpid/perl/Makefile.PL2
-rw-r--r--qpid/cpp/bindings/qpid/perl/Makefile.PL.in2
-rwxr-xr-xqpid/cpp/rubygen/cppgen.rb2
-rwxr-xr-xqpid/java/genpom2
-rwxr-xr-xqpid/tests/src/py/qpid_tests/client/client-api-example-tests.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/qpid/cpp/bindings/qpid/perl/Makefile.PL b/qpid/cpp/bindings/qpid/perl/Makefile.PL
index e11545c7d2..db9737a1dd 100644
--- a/qpid/cpp/bindings/qpid/perl/Makefile.PL
+++ b/qpid/cpp/bindings/qpid/perl/Makefile.PL
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
use strict;
diff --git a/qpid/cpp/bindings/qpid/perl/Makefile.PL.in b/qpid/cpp/bindings/qpid/perl/Makefile.PL.in
index 0e6fb9f0a6..75586cfe74 100644
--- a/qpid/cpp/bindings/qpid/perl/Makefile.PL.in
+++ b/qpid/cpp/bindings/qpid/perl/Makefile.PL.in
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
use strict;
diff --git a/qpid/cpp/rubygen/cppgen.rb b/qpid/cpp/rubygen/cppgen.rb
index 7dc21fe1bc..3d21e7d4fa 100755
--- a/qpid/cpp/rubygen/cppgen.rb
+++ b/qpid/cpp/rubygen/cppgen.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
#
# General purpose C++ code generation.
#
diff --git a/qpid/java/genpom b/qpid/java/genpom
index 55da2fe3d6..243985dd7b 100755
--- a/qpid/java/genpom
+++ b/qpid/java/genpom
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
diff --git a/qpid/tests/src/py/qpid_tests/client/client-api-example-tests.py b/qpid/tests/src/py/qpid_tests/client/client-api-example-tests.py
index 3140a83b7d..43e0aada46 100755
--- a/qpid/tests/src/py/qpid_tests/client/client-api-example-tests.py
+++ b/qpid/tests/src/py/qpid_tests/client/client-api-example-tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file