summaryrefslogtreecommitdiff
path: root/automated/linux/toolchain-smoke/toolchain-smoke.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/toolchain-smoke/toolchain-smoke.sh')
-rwxr-xr-xautomated/linux/toolchain-smoke/toolchain-smoke.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/toolchain-smoke/toolchain-smoke.sh b/automated/linux/toolchain-smoke/toolchain-smoke.sh
index 7cdead1..4a045a6 100755
--- a/automated/linux/toolchain-smoke/toolchain-smoke.sh
+++ b/automated/linux/toolchain-smoke/toolchain-smoke.sh
@@ -31,8 +31,7 @@ install() {
}
! 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}"
cd "${OUTPUT}"
install