From 1e077bb4210d1fee9f5425a42454095dd5bb6151 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 23 Mar 2022 02:09:27 +0200 Subject: [PATCH 50/50] installer_build.sh: Check that Output directory creation succeeded See osdn #44016 Signed-off-by: Marko Lindqvist --- windows/installer_cross/installer_build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/windows/installer_cross/installer_build.sh b/windows/installer_cross/installer_build.sh index c272356e3b..8c9132e725 100755 --- a/windows/installer_cross/installer_build.sh +++ b/windows/installer_cross/installer_build.sh @@ -224,7 +224,10 @@ if test "x$GUI" = "xruledit" ; then exit 1 fi - mkdir -p Output + if ! mkdir -p Output ; then + echo "Cannot create Output directory" >&2 + exit 1 + fi if ! makensis Freeciv-ruledit-$SETUP-$VERREV.nsi then echo "Creating installer failed!" >&2 -- 2.35.1