diff options
-rwxr-xr-x | make-release | 2 | ||||
-rwxr-xr-x | src/depend-java-query | 2 | ||||
-rwxr-xr-x | src/gjl | 2 | ||||
-rwxr-xr-x | src/java-config-2 | 2 | ||||
-rw-r--r-- | src/java_config_2/VM.py | 1 | ||||
-rw-r--r-- | src/launcher.bash | 2 | ||||
-rwxr-xr-x | tests/test-python3.sh | 2 | ||||
-rwxr-xr-x | tests/test.sh | 2 |
8 files changed, 7 insertions, 8 deletions
diff --git a/make-release b/make-release index 53ef87b..08ffe4a 100755 --- a/make-release +++ b/make-release @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash version=${1} if [[ -z ${version} ]]; then echo "I want a version" diff --git a/src/depend-java-query b/src/depend-java-query index 0ac9eb6..6361522 100755 --- a/src/depend-java-query +++ b/src/depend-java-query @@ -1,4 +1,4 @@ -#!/usr/bin/python -E +#!/@GENTOO_PORTAGE_EPREFIX@usr/bin/python -E # -*- coding: UTF-8 -*- # Copyright 2004-2005 Gentoo Foundation @@ -1,4 +1,4 @@ -#!/usr/bin/python -E +#!/@GENTOO_PORTAGE_EPREFIX@usr/bin/python -E # -*- coding: UTF-8 -*- # Copyright 2004-2013 Gentoo Foundation diff --git a/src/java-config-2 b/src/java-config-2 index d3af8d7..d26b045 100755 --- a/src/java-config-2 +++ b/src/java-config-2 @@ -1,4 +1,4 @@ -#!/usr/bin/python -E +#!/@GENTOO_PORTAGE_EPREFIX@usr/bin/python -E # -*- coding: UTF-8 -*- # Copyright 2004-2013 Gentoo Foundation diff --git a/src/java_config_2/VM.py b/src/java_config_2/VM.py index 8e98ba7..dbe32ae 100644 --- a/src/java_config_2/VM.py +++ b/src/java_config_2/VM.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: UTF-8 -*- # Copyright 2004-2005 Gentoo Foundation diff --git a/src/launcher.bash b/src/launcher.bash index 78c9a65..1d717be 100644 --- a/src/launcher.bash +++ b/src/launcher.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/@GENTOO_PORTAGE_EPREFIX@bin/bash # Not-so-elegant? patches more then welcome abort() { diff --git a/tests/test-python3.sh b/tests/test-python3.sh index 6f5a89b..c90a948 100755 --- a/tests/test-python3.sh +++ b/tests/test-python3.sh @@ -1,2 +1,2 @@ -#!/bin/sh +#!/usr/bin/env sh PYTHONPATH="../src" python3 run-test-suite.py diff --git a/tests/test.sh b/tests/test.sh index 84f8e98..47fff5d 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -1,2 +1,2 @@ -#!/bin/sh +#!/usr/bin/env sh PYTHONPATH="../src" python "`dirname $0`"/run-test-suite.py |