From 578dff61da9e7f660a41997d27817756d5470bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 22 Jun 2016 18:07:12 +0000 Subject: Create ${PREFIX} if absent. --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 91c2fd3a..96556eef 100755 --- a/build.sh +++ b/build.sh @@ -26,6 +26,9 @@ esac; shift; done; [ -f ${HOME}/midipix_build.vars ] && . ${HOME}/midipix_build.vars; [ -f ../midipix_build.vars ] && . ../midipix_build.vars; . ./build.vars; +if ! [ -d ${PREFIX} ]; then + mkdir ${PREFIX}; +fi; clear_env_with_except ${CLEAR_ENV_VARS_EXCEPT}; check_path_vars ${CHECK_PATH_VARS}; check_prereqs ${CHECK_PREREQ_CMDS}; {( -- cgit v1.2.3