Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn
Commits
69f2c560
Commit
69f2c560
authored
Jun 13, 2018
by
Costin Grigoras
Browse files
Initial commit of the user script
parent
dc454e3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/jalien
0 → 100755
View file @
69f2c560
#!/bin/bash -e
if
!
echo
"
$CLASSPATH
"
|
grep
-q
alien-users.jar -
;
then
if
[
-f
"
$JALIEN_ROOT
/lib/alien-users.jar"
]
;
then
CLASSPATH
=
"
$JALIEN_ROOT
/lib/alien-users.jar:
$CLASSPATH
"
else
IAMHERE
=
`
dirname
$0
`
if
[
-f
"
$IAMHERE
/../lib/alien-users.jar"
]
;
then
CLASSPATH
=
"
$IAMHERE
/../lib/alien-users.jar:
$CLASSPATH
"
else
echo
"Cannot locate alien-users.jar, please set JALIEN_ROOT or CLASSPATH to include it"
exit
1
fi
fi
fi
JALIEN_MAIN
=
${
JALIEN_MAIN
:-
alien
.JSh
}
JAVA_OPTS
=
${
JAVA_OPTS
:-
-Xms32M -Xmx32M
}
exec
java
$JAVA_OPTS
$JALIEN_MAIN
"
$@
"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment