Ensure working directory in scripts
So that they can be run standalone and not just through Mise
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
source "$(dirname "$0")/../_helpers.sh"
|
||||
|
||||
ensure_working_directory!
|
||||
|
||||
current_date=$(date +%s)
|
||||
project_dir=$(git rev-parse --show-toplevel)
|
||||
data_dir="$project_dir/data"
|
||||
|
||||
Reference in New Issue
Block a user