fix boolean check
This commit is contained in:
parent
14a96869a4
commit
96349d6012
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue