aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/bin/pb4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/pb b/src/bin/pb
index 78165b9..efbf8fc 100755
--- a/src/bin/pb
+++ b/src/bin/pb
@@ -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:-}"