From c9c4e4ff5c3551dcc4d8c12309224bf3ad2e6084 Mon Sep 17 00:00:00 2001 From: Bili Dong Date: Wed, 21 Jun 2017 15:09:12 -0700 Subject: [PATCH] Correct install scripts --- Tips-and-Tricks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tips-and-Tricks.md b/Tips-and-Tricks.md index 3f53cce..9cfd461 100644 --- a/Tips-and-Tricks.md +++ b/Tips-and-Tricks.md @@ -52,7 +52,7 @@ BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "${BASE_DIR}" -git submodule update --init --recursive "${DOTBOT_DIR}" +git submodule update --init --recursive --remote while IFS= read -r config; do @@ -90,7 +90,7 @@ BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "${BASE_DIR}" -git submodule update --init --recursive "${DOTBOT_DIR}" +git submodule update --init --recursive --remote "${BASE_DIR}/${META_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c "${META_DIR}/${BASE_CONFIG}${CONFIG_SUFFIX}"