about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-08-13 11:36:13 -0500
committerCase Duckworth2022-08-13 11:36:13 -0500
commit0f293027145824bda8938a65d7a9de4d47e47207 (patch)
tree67d4aa1cd01638736c8472b74bd2aa7bed4c6406
parentImplement -C (diff)
downloadshatom-0f293027145824bda8938a65d7a9de4d47e47207.tar.gz
shatom-0f293027145824bda8938a65d7a9de4d47e47207.zip
Default to processing files from the current directory HEAD main
-rwxr-xr-xshatom5
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