mirror of
https://github.com/corda/corda.git
synced 2025-03-22 12:05:59 +00:00
Merge pull request #8 from corda/clint-javahomefix
Fix an error in runnodes when running on Linux
This commit is contained in:
commit
e873347892
@ -1,8 +1,8 @@
|
||||
buildscript {
|
||||
// Our version: bump this on release.
|
||||
ext.corda_version = "0.7-SNAPSHOT"
|
||||
ext.gradle_plugins_version = "0.6.1"
|
||||
|
||||
ext.gradle_plugins_version = "0.5.7"
|
||||
ext.kotlin_version = '1.0.5'
|
||||
ext.quasar_version = '0.7.6'
|
||||
ext.asm_version = '0.5.3'
|
||||
|
@ -2,7 +2,7 @@
|
||||
// or if you are developing these plugins. See the readme for more information.
|
||||
|
||||
buildscript {
|
||||
ext.gradle_plugins_version = "0.6" // Our version: bump this on release.
|
||||
ext.gradle_plugins_version = "0.6.1" // Our version: bump this on release.
|
||||
ext.corda_published_version = "0.5" // Depend on our existing published publishing plugin.
|
||||
|
||||
repositories {
|
||||
|
@ -27,11 +27,13 @@ if which osascript >/dev/null; then
|
||||
end tell"
|
||||
osascript -e "$script"
|
||||
else
|
||||
# Some other UNIX, probably Linux
|
||||
# Some other UNIX, probably Linux (does not support msys or cygwin)
|
||||
# TODO: msys and cygwin support
|
||||
#
|
||||
# This next line is safe even if JAVA_HOME is unset. If it is set, it means that java overrides the
|
||||
# default system java, which is what we want.
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
# If it is set, it means that java overrides the default system java, which is what we want.
|
||||
if [ -n "${JAVA_HOME-}" ]; then
|
||||
export PATH="$JAVA_HOME/bin:$PATH"
|
||||
fi
|
||||
for dir in `ls`; do
|
||||
if [ -d $dir ]; then
|
||||
pushd $dir >/dev/null
|
||||
@ -39,4 +41,4 @@ else
|
||||
popd >/dev/null
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user