summaryrefslogtreecommitdiff
path: root/automated/linux/dsdbench/dsdbench.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/dsdbench/dsdbench.sh')
-rwxr-xr-xautomated/linux/dsdbench/dsdbench.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/dsdbench/dsdbench.sh b/automated/linux/dsdbench/dsdbench.sh
index 4b8f4cf..155bc1d 100755
--- a/automated/linux/dsdbench/dsdbench.sh
+++ b/automated/linux/dsdbench/dsdbench.sh
@@ -32,7 +32,7 @@ esac
install_deps "${pkgs}" "${SKIP_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)"
+create_out_dir "${OUTPUT}"
mkdir -p "${OUTPUT}/golang"
cd "${OUTPUT}"
export GOPATH="${OUTPUT}/golang"