server/meta/bin/prelude.bash
Chuck Adams c98c1dfa04
add fixup-db-snapshot script
Signed-off-by: Chuck Adams <chaz@chaz.works>
2025-12-09 15:32:51 -07:00

14 lines
304 B
Bash

# This file should be sourced, not run
set -o errexit
set -o nounset
set -o pipefail
# These are not exported, but will be visible in the tool's script if they need them
__ORIG_PWD=$PWD
__HERE=$(dirname "$0")
function warn { echo "$@" >&2; }
function die { warn "$@"; exit 1; }
cd "$__HERE"/../..