midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

578dff Create ${PREFIX} if absent.

Authored and Committed by Lucio Andrés Illanes Albornoz (arab, vxp) 8 years ago
1 file changed. 3 lines added. 0 lines removed.
    Create ${PREFIX} if absent.
    
        
file modified
+3 -0
build.sh CHANGED
@@ -26,6 +26,9 @@ esac; shift; done;
26
26
[ -f ${HOME}/midipix_build.vars ] && . ${HOME}/midipix_build.vars;
27
27
[ -f ../midipix_build.vars ] && . ../midipix_build.vars;
28
28
. ./build.vars;
29
+ if ! [ -d ${PREFIX} ]; then
30
+ mkdir ${PREFIX};
31
+ fi;
29
32
clear_env_with_except ${CLEAR_ENV_VARS_EXCEPT};
30
33
check_path_vars ${CHECK_PATH_VARS}; check_prereqs ${CHECK_PREREQ_CMDS};
31
34
{(