diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-22 18:07:12 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-22 18:07:12 +0000 |
commit | 578dff61da9e7f660a41997d27817756d5470bf4 (patch) | |
tree | 30726fca2d8e7dbfd7a845bc0f0d07e2dd96f1ad | |
parent | 836421ff2082d16f04f2ef08af38ec4f8e2c62f3 (diff) | |
download | midipix_build-578dff61da9e7f660a41997d27817756d5470bf4.tar.bz2 midipix_build-578dff61da9e7f660a41997d27817756d5470bf4.tar.xz |
Create ${PREFIX} if absent.
-rwxr-xr-x | build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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}; {( |