Corrected issues arising from "$BASE_DIR" vs "$ROOT_DIR"

This commit is contained in:
Jon-William Lewis
2016-01-25 23:41:41 -06:00
parent 238934c979
commit 77c3398c5f
8 changed files with 39 additions and 41 deletions

View File

@@ -22,7 +22,7 @@ if [ -z "$NAME" ]; then
fi
SESSION_ID="$RANDOM"
NOTE_DIR="$BASE_DIR"/"$NOTEBOOK"/"$SECTION"/
NOTE_DIR="$NOTES_DIR"/"$NOTEBOOK"/"$SECTION"/
if [ "$ENCRYPTION" == "TRUE" ]; then readonly NOTE="$NOTE_DIR""$NAME"."$EXT".gpg