8141439: Fix compare.sh -o <otherdir> (broken by JDK-8136813)

Reviewed-by: tbell, erikj
This commit is contained in:
Magnus Ihse Bursie 2015-11-05 10:58:53 +01:00
parent c070181a7f
commit 0ac445c69d
2 changed files with 3 additions and 1 deletions

View File

@ -86,4 +86,6 @@ fi
$RM $OUTPUT_ROOT/compare.log.old 2> /dev/null
$MV $OUTPUT_ROOT/compare.log $OUTPUT_ROOT/compare.log.old 2> /dev/null
export SCRIPT_DIR="$( cd "$( dirname "$0" )" > /dev/null && pwd )"
$BASH $SRC_ROOT/common/bin/logger.sh $OUTPUT_ROOT/compare.log $BASH "$REAL_COMPARE_SCRIPT" "$@"

View File

@ -989,7 +989,7 @@ if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
fi
fi
THIS="$( cd "$( dirname "$0" )" > /dev/null && pwd )"
THIS="$SCRIPT_DIR"
echo "$THIS"
THIS_SCRIPT="$0"