summarylogtreecommitdiffstats
path: root/capture-javareconf-variables.sh
blob: f2e340b71c848d428fd9a1c27eb634a7049ae96d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

(
    for VARIABLE in \
        JAVA_HOME \
        JAVA \
        JAVAC \
        JAVAH \
        JAR \
        JAVA_LIBS \
        JAVA_CPPFLAGS \
        JAVA_LD_LIBRARY_PATH
    do
        echo export ${VARIABLE}=\"${!VARIABLE}\"
    done
) >r-javaconf.env