diff options
author | Case Duckworth | 2022-08-13 11:36:13 -0500 |
---|---|---|
committer | Case Duckworth | 2022-08-13 11:36:13 -0500 |
commit | 0f293027145824bda8938a65d7a9de4d47e47207 (patch) | |
tree | 67d4aa1cd01638736c8472b74bd2aa7bed4c6406 | |
parent | Implement -C (diff) | |
download | shatom-0f293027145824bda8938a65d7a9de4d47e47207.tar.gz shatom-0f293027145824bda8938a65d7a9de4d47e47207.zip |
-rwxr-xr-x | shatom | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shatom b/shatom index 8e3abe5..05b6052 100755 --- a/shatom +++ b/shatom | |||
@@ -68,6 +68,11 @@ main() { | |||
68 | FEED_UPDATED="${FEED_UPDATED:-$(date -u +'%F %TZ')}" | 68 | FEED_UPDATED="${FEED_UPDATED:-$(date -u +'%F %TZ')}" |
69 | SITE_URL="${SITE_URL:-https://example.com/}" | 69 | SITE_URL="${SITE_URL:-https://example.com/}" |
70 | 70 | ||
71 | # Add PWD if no directories are given. | ||
72 | if [ $# -eq 0 ]; then | ||
73 | set -- . | ||
74 | fi | ||
75 | |||
71 | # Do the damn thing already | 76 | # Do the damn thing already |
72 | feed_header | 77 | feed_header |
73 | for DIR; do | 78 | for DIR; do |