From 6f49a1bbb11e50165dd17c4f67f49d8f10c01144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C3=ADaz?= Date: Wed, 15 Feb 2017 18:56:15 -0600 Subject: automated: use create_out_dir where appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I10181a7d1ebc53491085d80d67f0cd8f9e43071d Signed-off-by: Daniel Díaz --- automated/linux/openssl/openssl-speed.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'automated/linux/openssl/openssl-speed.sh') diff --git a/automated/linux/openssl/openssl-speed.sh b/automated/linux/openssl/openssl-speed.sh index 431ab97..a70db1b 100755 --- a/automated/linux/openssl/openssl-speed.sh +++ b/automated/linux/openssl/openssl-speed.sh @@ -17,8 +17,7 @@ while getopts "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}" pkgs="openssl" install_deps "${pkgs}" "${SKIP_INSTALL}" -- cgit v1.2.3