aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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
Diffstat (limited to 'src')
-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
5 files changed, 4 insertions, 5 deletions
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() {