From 01d4aaf5dfafed7ac3b5572075a6bc37d3c450aa Mon Sep 17 00:00:00 2001 From: Christian HB9HOX Date: Sun, 19 Mar 2023 21:23:49 +0100 Subject: [PATCH] Fix asciidoctor build on Alpine based environments --- scripts/asciidoctor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/asciidoctor b/scripts/asciidoctor index 1c35eac..c145106 100755 --- a/scripts/asciidoctor +++ b/scripts/asciidoctor @@ -1,5 +1,5 @@ -#!/bin/bash +#!/bin/sh cmd=$(which -a asciidoctor | tail -n 1) -exec $cmd --template-dir "$(dirname -- "${BASH_SOURCE[0]}")/asciidoctor" $@ +exec $cmd --template-dir "${PWD}/asciidoctor" $@ -- 2.45.2