libmpm

morphux C package management library
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/libmpm

commit f85b468aefe324e28cc9f76cadc11e142f15da5e
parent 7cba38ef294edbc087365a6832e2b02c8029f1d9
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Fri, 19 May 2017 12:19:39 +0200

Add(Compile): Now executing before script

Diffstat:
Msrc/compile.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/compile.c b/src/compile.c @@ -48,6 +48,8 @@ bool before_package(compile_t *ctx) { if (file_exist(COMP_BEFORE_SCRIPT) == false) goto end; + exec_line("sh " COMP_BEFORE_SCRIPT); + end: ctx->state = INST_STATE_BEFORE; return true;