diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/slbt_copy_file.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/helper/slbt_copy_file.c b/src/helper/slbt_copy_file.c index a97c35c..158a760 100644 --- a/src/helper/slbt_copy_file.c +++ b/src/helper/slbt_copy_file.c @@ -30,9 +30,16 @@ int slbt_copy_file( /* step output */ if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) { - if (slbt_output_link(dctx,ectx)) { - ectx->argv = oargv; - return -1; + if (dctx->cctx->mode == SLBT_MODE_LINK) { + if (slbt_output_link(dctx,ectx)) { + ectx->argv = oargv; + return -1; + } + } else { + if (slbt_output_install(dctx,ectx)) { + ectx->argv = oargv; + return -1; + } } } |