summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-22 18:07:12 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-22 18:07:12 +0000
commit578dff61da9e7f660a41997d27817756d5470bf4 (patch)
tree30726fca2d8e7dbfd7a845bc0f0d07e2dd96f1ad
parent836421ff2082d16f04f2ef08af38ec4f8e2c62f3 (diff)
downloadmidipix_build-578dff61da9e7f660a41997d27817756d5470bf4.tar.bz2
midipix_build-578dff61da9e7f660a41997d27817756d5470bf4.tar.xz
Create ${PREFIX} if absent.
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
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};
{(