aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2013-02-10 18:26:20 +0000
committerRalph Sennhauser <sera@gentoo.org>2013-02-10 18:26:20 +0000
commitf56266f9d88139c97ec0878976c0be8e9b228367 (patch)
tree0bb38f31b08d5a668cbc162a520bf4b7005b3e21
parentMake the scripts ROOT and EPREFIX aware (diff)
downloadjava-config-f56266f9d88139c97ec0878976c0be8e9b228367.tar.gz
java-config-f56266f9d88139c97ec0878976c0be8e9b228367.tar.bz2
java-config-f56266f9d88139c97ec0878976c0be8e9b228367.zip
Fix shebangs to be usable in Prefix
svn path=/projects/java-config-2/trunk/; revision=9193
-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