summaryrefslogtreecommitdiff
path: root/automated/linux/openjdk/openjdk-smoke.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/openjdk/openjdk-smoke.sh')
-rwxr-xr-xautomated/linux/openjdk/openjdk-smoke.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/openjdk/openjdk-smoke.sh b/automated/linux/openjdk/openjdk-smoke.sh
index 2489198..3aa91ff 100755
--- a/automated/linux/openjdk/openjdk-smoke.sh
+++ b/automated/linux/openjdk/openjdk-smoke.sh
@@ -20,8 +20,7 @@ while getopts "v:s:" o; do
done
! check_root && error_msg "You need to be root to run this script."
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
if [ "${SKIP_INSTALL}" = "True" ] || [ "${SKIP_INSTALL}" = "true" ]; then
info_msg "JDK package installation skipped"