diff --git a/deployment-script.sh b/deployment-script.sh index be3a5fa..a5d4aae 100755 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -4,7 +4,7 @@ cp html_resources/index_template.html index.html function genlinks { for FILE in $(find . -maxdepth 1 -type f -name "??-*.html" | sort); do echo -ne "
  • \n" - echo -n " $(sed -e 's/-.*//' <<< "$FILE") ' + echo -n " $(sed -e 's|^\./||;s/-.*//' <<< "$FILE") ' grep -oe ".*" $FILE | sed -e 's/ //;s| ||' echo "
  • " done