diff options
author | EuAndreh <eu@euandre.org> | 2022-08-12 11:36:33 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-08-12 11:36:33 -0300 |
commit | 6bed43aa5b881210c00d54c641c5797d54f71761 (patch) | |
tree | ff212986a4ac9dfb5466835e153080338a2c1098 /src/bin/pb | |
parent | pastebin: Auto-add _pastebins/2022-07-14-git-cleanup-command.md (diff) | |
download | euandre.org-6bed43aa5b881210c00d54c641c5797d54f71761.tar.gz euandre.org-6bed43aa5b881210c00d54c641c5797d54f71761.tar.xz |
src/bin/pb: Use file path over hard-coded $WEBSITE_DIR
Diffstat (limited to 'src/bin/pb')
-rwxr-xr-x | src/bin/pb | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,8 +1,7 @@ #!/bin/sh set -eu - -WEBSITE_DIR=~/dev/libre/euandre.org +cd -- "$(dirname -- "$(readlink -f -- "$0")")"/../../ usage() { @@ -127,7 +126,6 @@ assert_arg() { fi } -cd "$WEBSITE_DIR" assert_arg "${TITLE:-}" '-t TITLE' LANGUAGE="${LANGUAGE:-}" |