Problem: mdbook use_service_worker script is not portable

This commit is contained in:
Joshua McQuistan 2023-11-11 12:41:04 +00:00
parent 1d08beaa3e
commit 3867a4bd1d
2 changed files with 2 additions and 2 deletions

View file

@ -4,4 +4,4 @@ public_url = "/demo/"
[[hooks]] [[hooks]]
stage = "post_build" stage = "post_build"
command = "bash" command = "bash"
command_arguments = ["-c", "./post_build.sh"] command_arguments = ["post_build.sh"]

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
appName="use_service_worker" appName="use_service_worker"