]> git.street.me.uk Git - andy/dehydrated.git/commitdiff
The example hook script uses bash test regex
authorSimon Deziel <simon.deziel@gmail.com>
Tue, 31 Jan 2017 01:36:19 +0000 (20:36 -0500)
committerSimon Deziel <simon.deziel@gmail.com>
Tue, 31 Jan 2017 01:36:19 +0000 (20:36 -0500)
Use bash explictly as done for the main script.

Signed-off-by: Simon Deziel <simon.deziel@gmail.com>
docs/examples/hook.sh

index b7bd8361abd132443859dcb01f5652f8debb1226..18233722241732417007c3c8acd35e9db825fdea 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 deploy_challenge() {
     local DOMAIN="${1}" TOKEN_FILENAME="${2}" TOKEN_VALUE="${3}"