Fixed a bug where verify_store would create a " directory tree.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function verify_store {
|
||||
ETC_DIR="$(dirname \"$CONFIG_FILE\")"
|
||||
ETC_DIR=$(dirname "$CONFIG_FILE")
|
||||
STORE_DIRS=("$ROOT_DIR" "$NOTES_DIR" "$TMP_DIR" "$ETC_DIR")
|
||||
for DIR in ${STORE_DIRS[@]}; do
|
||||
for DIR in "${STORE_DIRS[@]}"; do
|
||||
mkdir -p "$DIR"
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user