update bin scripts to work as symlinks

This commit is contained in:
2023-05-13 22:11:59 -07:00
parent 8203bbe763
commit e601f45836
3 changed files with 4 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/sh
node $(dirname $0)/strip-frontmatter.js $*
node $(dirname "$(readlink -f "$0")")/strip-frontmatter.js $*