aboutsummaryrefslogtreecommitdiff
path: root/lang/linux-j/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-16 23:54:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-16 23:54:04 +0000
commit54dfba3a94fb8c599e8ecb3514b7e34383861e86 (patch)
tree3cb09cc79be314198b5ecccbe65cddf4b80b4ebd /lang/linux-j/files
parent21253eb6e25214e06dc050c209f2749782423280 (diff)
Notes
Diffstat (limited to 'lang/linux-j/files')
-rw-r--r--lang/linux-j/files/jconsole10
-rw-r--r--lang/linux-j/files/patch-j501a::profile.ijs14
2 files changed, 21 insertions, 3 deletions
diff --git a/lang/linux-j/files/jconsole b/lang/linux-j/files/jconsole
index 93f923385bfa..c39b9f18bb23 100644
--- a/lang/linux-j/files/jconsole
+++ b/lang/linux-j/files/jconsole
@@ -1,4 +1,8 @@
#!/bin/sh
-JLIB=PREFIX/lib/j
-export JLIB
-exec PREFIX/bin/jconsole.bin $*
+JPATHj501a=PREFIX/lib/j
+export JPATHj501a
+if [ ! -d $HOME/J ]
+then
+ cp -r $JPATHj501a/user $HOME/J
+fi
+exec PREFIX/lib/j/jconsole "$@"
diff --git a/lang/linux-j/files/patch-j501a::profile.ijs b/lang/linux-j/files/patch-j501a::profile.ijs
new file mode 100644
index 000000000000..e9c9a8efee40
--- /dev/null
+++ b/lang/linux-j/files/patch-j501a::profile.ijs
@@ -0,0 +1,14 @@
+--- j501a/profile.ijs.orig Tue Oct 22 18:08:47 2002
++++ j501a/profile.ijs Tue Oct 22 18:10:13 2002
+@@ -47,9 +47,9 @@
+ NB. =========================================================
+ NB. directory paths (no trailing path separator):
+ SYSTEM_j_=: PROFILE{.~PROFILE i: PATHSEP_j_
+-USER_j_=: SYSTEM_j_
++USER_j_=: (2!:5'HOME'),'\J'
+ ADDON_j_=: SYSTEM_j_,'\addons'
+-TEMP_j_=: SYSTEM_j_
++TEMP_j_=: USER_j_
+ CONFIG_j_=: USER_j_, '\user\config'
+
+ NB. =========================================================