From 3664b3b4296a62701a2ec6116347d5130380537f Mon Sep 17 00:00:00 2001 From: Jon-William Lewis Date: Mon, 15 Feb 2016 00:08:21 -0600 Subject: [PATCH] Fixed a bug where verify_store would create a " directory tree. --- src/includes/verify_store.sns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/includes/verify_store.sns.sh b/src/includes/verify_store.sns.sh index 9604d8d..31a59b9 100644 --- a/src/includes/verify_store.sns.sh +++ b/src/includes/verify_store.sns.sh @@ -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 }