Code cleanup

This commit is contained in:
Jon-William Lewis
2016-02-11 00:22:34 -06:00
parent 7e1655402b
commit 993a6508d3
13 changed files with 135 additions and 112 deletions

View File

@@ -0,0 +1,7 @@
function verify_store {
ETC_DIR="$(dirname \"$CONFIG_FILE\")"
STORE_DIRS=("$ROOT_DIR" "$NOTES_DIR" "$TMP_DIR" "$ETC_DIR")
for DIR in ${STORE_DIRS[@]}; do
mkdir -p "$DIR"
done
}