diff --git a/shell/archive_index_template b/shell/archive_index_template index aebcdff..2116d70 100755 --- a/shell/archive_index_template +++ b/shell/archive_index_template @@ -32,7 +32,7 @@ wget --quiet https://files.hyperreal.coffee/archive-index-template.html \ -O "${TMP_DIR}/index.html" # Replace "CHANGEME" with the the BUCKET_NAME argument in index.html. -sed -i "s/CHANGEME/$1/g" "${TMP_DIR}/index.html" +sed -i "s/CHANGEME/$2/g" "${TMP_DIR}/index.html" # Put the new index.html into the root of the given bucket. mc put "${TMP_DIR}/index.html" "${1}/${2}/"