Commit 7be98b44 authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch '9-fix-execute-hook-scripts-with-shebang-shell' into 'master'

Resolve "fix: execute hook scripts with shebang shell"

Closes #9

See merge request to-be-continuous/mkdocs!13
parents a8f2d05c 449f77cf
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
  }