Update command as dotbot dir has moved
This commit is contained in:
parent
5ac46c3641
commit
f724b91d6d
@ -9,7 +9,7 @@ META_DIR="meta"
|
||||
CONFIG_DIR="configs"
|
||||
PROFILES_DIR="profiles"
|
||||
|
||||
DOTBOT_DIR="github/dotbot"
|
||||
DOTBOT_DIR="dotbot"
|
||||
DOTBOT_BIN="bin/dotbot"
|
||||
|
||||
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
@ -26,10 +26,10 @@ done < "${META_DIR}/${PROFILES_DIR}/$1"
|
||||
shift
|
||||
|
||||
|
||||
"${BASE_DIR}/${META_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c "${META_DIR}/${BASE_CONFIG}${CONFIG_SUFFIX}"
|
||||
"${BASE_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c "${META_DIR}/${BASE_CONFIG}${CONFIG_SUFFIX}"
|
||||
|
||||
for config in ${CONFIGS} ${@}; do
|
||||
echo -e "\nConfigure $config"
|
||||
configContent="$(<"${BASE_DIR}/${META_DIR}/${BASE_CONFIG}${CONFIG_SUFFIX}")\n$(<"${BASE_DIR}/${META_DIR}/${CONFIG_DIR}/${config}${CONFIG_SUFFIX}")"
|
||||
"${BASE_DIR}/${META_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c <(echo -e "$configContent")
|
||||
"${BASE_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c <(echo -e "$configContent")
|
||||
done
|
||||
|
@ -9,7 +9,7 @@ META_DIR="meta"
|
||||
CONFIG_DIR="configs"
|
||||
PROFILES_DIR="profiles"
|
||||
|
||||
DOTBOT_DIR="github/dotbot"
|
||||
DOTBOT_DIR="dotbot"
|
||||
DOTBOT_BIN="bin/dotbot"
|
||||
|
||||
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user