git » java-common.git » commit d8363c5

revert csh profile to avoid using unsupported functions in non-bash shells

author Frederik Schwan
2023-01-19 12:34:49 UTC
committer Frederik Schwan
2023-01-19 12:34:49 UTC
parent 83cc0ea0e7e68c0e03f45698a944df1ff13993ab

revert csh profile to avoid using unsupported functions in non-bash shells

PKGBUILD +2 -2
profile_jre.csh +1 -2

diff --git a/PKGBUILD b/PKGBUILD
index c0d8e3f..321fd60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgbase=java-common
 pkgname=('java-runtime-common' 'java-environment-common')
 pkgver=3
-pkgrel=4
+pkgrel=5
 pkgdesc='Common files for Java Runtime Environments'
 url='https://www.archlinux.org/packages/extra/any/java-common/'
 arch=('any')
@@ -17,7 +17,7 @@ source=(profile_jre.csh
         bin_archlinux-java
         test_archlinux-java
         https://github.com/kward/shunit2/archive/v${_shunitver}/shunit2-${_shunitver}.tar.gz)
-sha256sums=('f11ac56c635e545e73db994b905b646c15ccba6781411d79878c4edd7c77ccd9'
+sha256sums=('9d25638cafc2fabd1ba6f2f26aa01233eccf3d31db003d956b571f0ab655dd23'
             'f11ac56c635e545e73db994b905b646c15ccba6781411d79878c4edd7c77ccd9'
             '5101f9d3d42cd545843a537826451c1b2e0bf2b16aba4e36ac797d9ace16dc63'
             'f4c3fc55568fbbd298c1bf617bdd7f45db600b47c9991b072e409876e8cdd341'
diff --git a/profile_jre.csh b/profile_jre.csh
index 6734f3d..a224d89 100644
--- a/profile_jre.csh
+++ b/profile_jre.csh
@@ -1,4 +1,3 @@
 # Do not change this unless you want to completely by-pass Arch Linux' way
 # of handling Java versions and vendors. Instead, please use script `archlinux-java`
-append_path '/usr/lib/jvm/default/bin'
-export PATH
+setenv PATH "${PATH}:/usr/lib/jvm/default/bin"