From 04fbadb1b77856bfb24b85e9509defaa8bedf17d Mon Sep 17 00:00:00 2001 From: Mihaela Stoica Date: Tue, 11 Jul 2017 19:58:38 +0100 Subject: [PATCH] CA-258357: Create the output directory before trying to write into it --- mk/package-and-sign.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/package-and-sign.sh b/mk/package-and-sign.sh index 34ef61aee..74fa99b93 100644 --- a/mk/package-and-sign.sh +++ b/mk/package-and-sign.sh @@ -52,6 +52,8 @@ mkdir_clean() rm -rf $1 && mkdir -p $1 } +mkdir_clean ${OUTPUT_DIR} + #overwrite sign file SIGN_FILE=${ROOT}/sign.bat if [ -f ${SIGN_FILE} ]; then