common/autoconf/compare.sh.in
changeset 20363 fa7663fc5d50
parent 16661 53c462db978a
child 22722 03797b5d2ba3
equal deleted inserted replaced
20362:5f8289bfda3e 20363:fa7663fc5d50
    20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21 # or visit www.oracle.com if you need additional information or have any
    21 # or visit www.oracle.com if you need additional information or have any
    22 # questions.
    22 # questions.
    23 #
    23 #
    24 
    24 
    25 # This script is processed by configure before it's usable. It is run from 
    25 # This script is processed by configure before it's usable. It is run from
    26 # the root of the build directory.
    26 # the root of the build directory.
    27 
    27 
    28 
    28 
    29 ##########################################################################################
    29 ##########################################################################################
    30 # Substitutions from autoconf
    30 # Substitutions from autoconf
    65 UNZIP="@UNZIP@"
    65 UNZIP="@UNZIP@"
    66 
    66 
    67 SRC_ROOT="@SRC_ROOT@"
    67 SRC_ROOT="@SRC_ROOT@"
    68 
    68 
    69 if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
    69 if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
    70     PATH="@VS_PATH@"
    70   PATH="@VS_PATH@"
    71 fi
    71 fi
    72 
    72 
    73 # Now locate the main script and run it.
    73 # Now locate the main script and run it.
    74 REAL_COMPARE_SCRIPT="$SRC_ROOT/common/bin/compare.sh"
    74 REAL_COMPARE_SCRIPT="$SRC_ROOT/common/bin/compare.sh"
    75 if [ ! -e "$REAL_COMPARE_SCRIPT" ]; then
    75 if [ ! -e "$REAL_COMPARE_SCRIPT" ]; then
    76     echo "Error: Cannot locate compare script, it should have been in $REAL_COMPARE_SCRIPT"
    76   echo "Error: Cannot locate compare script, it should have been in $REAL_COMPARE_SCRIPT"
    77     exit 1
    77   exit 1
    78 fi
    78 fi
    79 
    79 
    80 . "$REAL_COMPARE_SCRIPT" "$@"
    80 . "$REAL_COMPARE_SCRIPT" "$@"