summaryrefslogtreecommitdiff
path: root/automated/linux/busybox/busybox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/busybox/busybox.sh')
-rwxr-xr-xautomated/linux/busybox/busybox.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/busybox/busybox.sh b/automated/linux/busybox/busybox.sh
index a34a636..a11b2c0 100755
--- a/automated/linux/busybox/busybox.sh
+++ b/automated/linux/busybox/busybox.sh
@@ -8,8 +8,7 @@ OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
cd "${OUTPUT}" || exit 1
busybox