~sourcemage/sorcery

b6a8a0d18f2f852056f2181bb763c06fe3c9aef1 — Ismael Luceno 2 years ago b30cd72
api2: Simplify calls to delve
1 files changed, 2 insertions(+), 7 deletions(-)

M var/lib/sorcery/modules/build_api/api2
M var/lib/sorcery/modules/build_api/api2 => var/lib/sorcery/modules/build_api/api2 +2 -7
@@ 85,13 85,8 @@ run_build_spell() {
      then
        invoke_installwatch
      fi                                    &&
      if [[ $OVERRIDE_GRIMOIRES ]]; then
        delve -g "$OVERRIDE_GRIMOIRES" $SPELL INSTALL &&
        delve -g "$OVERRIDE_GRIMOIRES" $SPELL INSTALL_EXTRAS
      else
        delve $SPELL INSTALL &&
        delve $SPELL INSTALL_EXTRAS
      fi &&
      delve ${OVERRIDE_GRIMOIRES+-g "$OVERRIDE_GRIMOIRES"} $SPELL INSTALL &&
      delve ${OVERRIDE_GRIMOIRES+-g "$OVERRIDE_GRIMOIRES"} $SPELL INSTALL_EXTRAS &&
      run_post_install                      || return 2
      run_transfer                          &&
      devoke_installwatch                   &&