aboutsummaryrefslogtreecommitdiff
path: root/local.sh
diff options
context:
space:
mode:
authorThArGos <thargos@gmail.com>2024-09-12 13:56:00 +0200
committerThArGos <thargos@gmail.com>2024-09-12 13:56:00 +0200
commite41a5a995d258fadb88c0ec380898233b2f402d4 (patch)
treeda28a3155730a5ded0b2284e385cefb53815728e /local.sh
parent3a618f8defb382a76e19c9255bb60262e12421f1 (diff)
Audit fix and usage of environment variables
Diffstat (limited to 'local.sh')
-rwxr-xr-xlocal.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/local.sh b/local.sh
index 0d1cda4..e6dc7ee 100755
--- a/local.sh
+++ b/local.sh
@@ -1,7 +1,8 @@
#!/bin/bash
-read -p "Enter the ROAM_PATH: " ROAM_PATH
-read -p "Enter the ROAM_DB_FILE: " ROAM_DB_FILE
+# export ROAM_PATH=/path/to/org-roam/src
+# export ROAM_DB_FILE=org-roam.db
+
ROAM_DB_PATH=$ROAM_PATH/$ROAM_DB_FILE
ROAM_IMG_PATH=$ROAM_PATH/img
@@ -31,4 +32,4 @@ if [ -d "../../out" ]; then
fi
mv out ../../
popd
-popd \ No newline at end of file
+popd