diff options
author | Sven Gothel <[email protected]> | 2011-02-23 19:40:44 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-23 19:40:44 +0100 |
commit | b88976ac189c8154be2a8e2b748711c85a1af421 (patch) | |
tree | caa4fcf64d03ed215d7af6e91807f698aeaa4573 /make/jogamp-env.xml | |
parent | 1c88fd2534220a5e8eda1b4f0861ca23a9e3ef31 (diff) |
fix jogamp-env.xml ; uses env vars BUILD_ARCHIVE=true|yes and NODE_NAME if set
Diffstat (limited to 'make/jogamp-env.xml')
-rwxr-xr-x | make/jogamp-env.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/make/jogamp-env.xml b/make/jogamp-env.xml index 767adab..579714f 100755 --- a/make/jogamp-env.xml +++ b/make/jogamp-env.xml @@ -5,14 +5,14 @@ <property environment="env" /> <!-- only set 'build.archiveon' if set in environment to trigger archive creation --> - <condition property="build.archiveon" value="${env.build.archiveon}"> - <isset property="${env.build.archiveon}"/> + <condition property="build.archiveon" value="${env.BUILD_ARCHIVE}"> + <istrue value="${env.BUILD_ARCHIVE}"/> + <!--isset property="${env.BUILD_ARCHIVE}"/--> </condition> - <condition property="build.node.name" value="${env.NODE_NAME}"> - <isset property="${env.NODE_NAME}"/> + <condition property="build.node.name" value="${env.NODE_NAME}" else="local"> + <length string="${env.NODE_NAME}" when="greater" length="0" /> </condition> - <property name="build.node.name" value="local"/> </target> |