Commit 449f77cf authored by Pierre Smeyers's avatar Pierre Smeyers Committed by Cédric OLIVIER
Browse files

Resolve "fix: execute hook scripts with shebang shell"

parent a8f2d05c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -60,7 +60,8 @@ stages:

    if [[ -f "${MKD_PREBUILD_SCRIPT}" ]]; then
      log_info "--- \\e[32mpre-build hook\\e[0m (\\e[33;1m${MKD_PREBUILD_SCRIPT}\\e[0m) found: execute"
      sh "${MKD_PREBUILD_SCRIPT}"
      chmod +x "${MKD_PREBUILD_SCRIPT}"
      "./${MKD_PREBUILD_SCRIPT}"
    fi
  }