aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-08-23 23:36:44 -0400
committerJesse Luehrs <doy@tozt.net>2019-08-23 23:36:44 -0400
commit72c11f3586b9a893b5824f8b4e22d90a379f3da1 (patch)
treefa3e5c45d715716d3af8bf8520f1bfee1eea3de1
parent4d8094613bb29e008495dc0d04956f95c67c2bbc (diff)
downloadynab-export-72c11f3586b9a893b5824f8b4e22d90a379f3da1.tar.gz
ynab-export-72c11f3586b9a893b5824f8b4e22d90a379f3da1.zip
allow load script to be called from anywhere
-rwxr-xr-xbin/load2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/load b/bin/load
index b441d90..6095d86 100755
--- a/bin/load
+++ b/bin/load
@@ -1,5 +1,7 @@
#!/bin/sh
+cd "$(dirname "$0")/.." || exit 1
+
cargo build
cd data || exit 1