diff --git a/entrypoint.sh b/entrypoint.sh index 7ef65f0..698c981 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -49,7 +49,7 @@ eval "$INPUT_PRE_BUILD" if [[ $INPUT_SLIDES_SKIP_ASCIIDOCTOR_BUILD == false ]]; then echo "Converting AsciiDoc files to HTML" find . -name "*$INPUT_ADOC_FILE_EXT" -exec asciidoctor -b html $INPUT_ASCIIDOCTOR_PARAMS {} \; - find . -name "README.html" -exec ln -s "README.html" "$(dirname {})/index.html" \; + find . -name "README.html" -execdir ln -s "README.html" "index.html" \; find . -name "*$INPUT_ADOC_FILE_EXT" -exec git rm -f --cached {} \; fi