diff --git a/run b/run index 26a618d0..f3bfb7d0 100755 --- a/run +++ b/run @@ -13,7 +13,7 @@ function task:daily { # Find the next post date based on the last post in the directory. local next_date if [[ "${1}" == "next" ]]; then - next_date=$(ls -1 src/daily-emails | tail -n 1 | tr -d '.md' | xargs -I {} date +%Y-%m-%d -d '{} +1 day') + next_date=$(ls -1 src/content/daily-email | tail -n 1 | tr -d '.md' | xargs -I {} date +%Y-%m-%d -d '{} +1 day') else next_date="${1}" fi