aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake-release2
-rwxr-xr-xsrc/depend-java-query2
-rwxr-xr-xsrc/gjl2
-rwxr-xr-xsrc/java-config-22
-rw-r--r--src/java_config_2/VM.py1
-rw-r--r--src/launcher.bash2
-rwxr-xr-xtests/test-python3.sh2
-rwxr-xr-xtests/test.sh2
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
diff --git a/src/gjl b/src/gjl
index c561e30..8a9fd88 100755
--- a/src/gjl
+++ b/src/gjl
@@ -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