From 9c1af76e9ef1c1c9f78615d88af7de39f157e341 Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Fri, 22 May 2015 13:33:10 -0400 Subject: Add Mercurial install script --- tools/hg-subrepo/install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tools/hg-subrepo/install (limited to 'tools') diff --git a/tools/hg-subrepo/install b/tools/hg-subrepo/install new file mode 100755 index 0000000..3d97dd0 --- /dev/null +++ b/tools/hg-subrepo/install @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e + +CONFIG="install.conf.yaml" +DOTBOT_DIR="dotbot" + +DOTBOT_BIN="bin/dotbot" +BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +cd "${BASEDIR}" + +(cd "${DOTBOT_DIR}" && git submodule update --init --recursive) +"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" -- cgit v1.2.3