fix boolean check

This commit is contained in:
Maximilian Keßler 2023-10-17 16:15:59 +02:00
parent 14a96869a4
commit 96349d6012
Signed by: max
GPG Key ID: BCC5A619923C0BA5

View File

@ -21,7 +21,7 @@ if [ ! -d "${INPUT_DIRECTORY}" ]; then
fi
# optionally: create index
if [ "${INPUT_INDEX}" ]; then
if "${INPUT_INDEX}"; then
if [ ! -e "${INPUT_DIRECTORY}/index.html" ]; then
tree "${INPUT_DIRECTORY}" -a -H "." \
-D \