aboutsummaryrefslogtreecommitdiffstats
path: root/bin/ssg
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-09-27 17:18:30 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-09-27 17:18:30 +0200
commit5adb19d54b652b46f1b2b853e5221a0afe4fcc16 (patch)
treef196da1ec2265ee35e6fd97fbcd7e5c6d5cfc193 /bin/ssg
parent58bb8195ef341265c957254606694e0799252995 (diff)
downloadrgoncalves.se-5adb19d54b652b46f1b2b853e5221a0afe4fcc16.tar.gz
rssg: Add rss generation support
Diffstat (limited to 'bin/ssg')
-rwxr-xr-xbin/ssg5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/ssg b/bin/ssg
index d3f2e02..3af40a2 100755
--- a/bin/ssg
+++ b/bin/ssg
@@ -1,12 +1,9 @@
#!/bin/sh
-. $(dirname "${0}")/func
+. bin/func
set -xe
-# Check if the working directory is valid.
-echo "${0}" | grep '^./bin/ssg$'
-
src_files="$(__list_files ${src_dir})"
dirs="${media_dir} \
${src_dir} \
remember that computers suck.